This commit is contained in:
2021-09-24 00:58:15 +03:00
parent 50a68be7c6
commit 1817142a33
1153 changed files with 30981 additions and 334 deletions

3
.vs/ProjectSettings.json Normal file
View File

@@ -0,0 +1,3 @@
{
"CurrentProjectSetting": null
}

View File

@@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\Neutral Folder.sln",
"PreviewInSolutionExplorer": false
}

BIN
.vs/desktop.ini Normal file

Binary file not shown.

BIN
.vs/slnx.sqlite Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31424.327
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DownloadMyScript", "DownloadMyScript\DownloadMyScript.csproj", "{537DD54D-4FF8-4366-9B1A-7FC7E16A521D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{537DD54D-4FF8-4366-9B1A-7FC7E16A521D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{537DD54D-4FF8-4366-9B1A-7FC7E16A521D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{537DD54D-4FF8-4366-9B1A-7FC7E16A521D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{537DD54D-4FF8-4366-9B1A-7FC7E16A521D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {B64C8F5A-CCB1-4C2B-9F7B-3485ED0C2CE1}
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,22 @@
using System;
using Newtonsoft.Json;
namespace DownloadMyScript
{
class Program
{
static void Main(string[] args)
{
System.Net.WebRequest data_element = System.Net.WebRequest.Create("https://api.github.com/gists/cd81e5005e7c7be3f71af94ab635d647");
data_element.Method = "GET";
data_element.ContentType = "application/json";
data_element.Credentials = "foo";
System.Net.WebResponse res = data_element.GetResponse();
System.IO.Stream stream = res.GetResponseStream();
string data_content = stream.ToString();
dynamic data = JsonConvert.DeserializeObject(data_content);
data_element = System.Net.WebRequest.Create(data["files"]["myscript 2.0.exe"]["raw_url"].Value);
//byte[] binaryWriter = data_element.Method;
//System.IO.File.WriteAllBytes("D:\\Neutral Folder\\File.exe",binaryWriter);
}
}
}

View File

@@ -0,0 +1,41 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v5.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v5.0": {
"DownloadMyScript/1.0.0": {
"dependencies": {
"Newtonsoft.Json": "13.0.1"
},
"runtime": {
"DownloadMyScript.dll": {}
}
},
"Newtonsoft.Json/13.0.1": {
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.1.25517"
}
}
}
}
},
"libraries": {
"DownloadMyScript/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Newtonsoft.Json/13.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
"path": "newtonsoft.json/13.0.1",
"hashPath": "newtonsoft.json.13.0.1.nupkg.sha512"
}
}
}

View File

@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\סארט\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\סארט\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
]
}
}

View File

@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net5.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "5.0.0"
}
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]

View File

@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("DownloadMyScript")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("DownloadMyScript")]
[assembly: System.Reflection.AssemblyTitleAttribute("DownloadMyScript")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@@ -0,0 +1 @@
c9a85597ea4a5f5982dbe6b8d0b176aba8111283

View File

@@ -0,0 +1,8 @@
is_global = true
build_property.TargetFramework = net5.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.PublishSingleFile =
build_property.IncludeAllContentForSelfExtract =
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows

View File

@@ -0,0 +1 @@
df04e92bc1f90889acee3127c09f40d862e05d52

View File

@@ -0,0 +1,18 @@
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\bin\Debug\net5.0\DownloadMyScript.exe
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\bin\Debug\net5.0\DownloadMyScript.deps.json
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\bin\Debug\net5.0\DownloadMyScript.runtimeconfig.json
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\bin\Debug\net5.0\DownloadMyScript.runtimeconfig.dev.json
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\bin\Debug\net5.0\DownloadMyScript.dll
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\bin\Debug\net5.0\ref\DownloadMyScript.dll
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\bin\Debug\net5.0\DownloadMyScript.pdb
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\bin\Debug\net5.0\Newtonsoft.Json.dll
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\obj\Debug\net5.0\DownloadMyScript.csproj.AssemblyReference.cache
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\obj\Debug\net5.0\DownloadMyScript.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\obj\Debug\net5.0\DownloadMyScript.AssemblyInfoInputs.cache
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\obj\Debug\net5.0\DownloadMyScript.AssemblyInfo.cs
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\obj\Debug\net5.0\DownloadMyScript.csproj.CoreCompileInputs.cache
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\obj\Debug\net5.0\DownloadMyScript.csproj.CopyComplete
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\obj\Debug\net5.0\DownloadMyScript.dll
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\obj\Debug\net5.0\ref\DownloadMyScript.dll
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\obj\Debug\net5.0\DownloadMyScript.pdb
C:\Users\סארט\source\repos\DownloadMyScript\DownloadMyScript\obj\Debug\net5.0\DownloadMyScript.genruntimeconfig.cache

View File

@@ -0,0 +1 @@
fa85a2a72e640131834e709d9635d29afc128acb

View File

@@ -0,0 +1,73 @@
{
"format": 1,
"restore": {
"C:\\Users\\סארט\\source\\repos\\DownloadMyScript\\DownloadMyScript\\DownloadMyScript.csproj": {}
},
"projects": {
"C:\\Users\\סארט\\source\\repos\\DownloadMyScript\\DownloadMyScript\\DownloadMyScript.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\סארט\\source\\repos\\DownloadMyScript\\DownloadMyScript\\DownloadMyScript.csproj",
"projectName": "DownloadMyScript",
"projectPath": "C:\\Users\\סארט\\source\\repos\\DownloadMyScript\\DownloadMyScript\\DownloadMyScript.csproj",
"packagesPath": "C:\\Users\\סארט\\.nuget\\packages\\",
"outputPath": "C:\\Users\\סארט\\source\\repos\\DownloadMyScript\\DownloadMyScript\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\סארט\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net5.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Users\\סארט\\source\\repos\\NetWork": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"dependencies": {
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.1, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\סארט\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.10.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\סארט\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]

View File

@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("DownloadMyScript")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("DownloadMyScript")]
[assembly: System.Reflection.AssemblyTitleAttribute("DownloadMyScript")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@@ -0,0 +1 @@
d8e6aaabf3d916a2d32ed3310e891e34c40f3e94

View File

@@ -0,0 +1,8 @@
is_global = true
build_property.TargetFramework = net5.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.PublishSingleFile =
build_property.IncludeAllContentForSelfExtract =
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows

Binary file not shown.

View File

@@ -0,0 +1,119 @@
{
"version": 3,
"targets": {
"net5.0": {
"Newtonsoft.Json/13.0.1": {
"type": "package",
"compile": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
},
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
}
}
}
},
"libraries": {
"Newtonsoft.Json/13.0.1": {
"sha512": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
"type": "package",
"path": "newtonsoft.json/13.0.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.md",
"lib/net20/Newtonsoft.Json.dll",
"lib/net20/Newtonsoft.Json.xml",
"lib/net35/Newtonsoft.Json.dll",
"lib/net35/Newtonsoft.Json.xml",
"lib/net40/Newtonsoft.Json.dll",
"lib/net40/Newtonsoft.Json.xml",
"lib/net45/Newtonsoft.Json.dll",
"lib/net45/Newtonsoft.Json.xml",
"lib/netstandard1.0/Newtonsoft.Json.dll",
"lib/netstandard1.0/Newtonsoft.Json.xml",
"lib/netstandard1.3/Newtonsoft.Json.dll",
"lib/netstandard1.3/Newtonsoft.Json.xml",
"lib/netstandard2.0/Newtonsoft.Json.dll",
"lib/netstandard2.0/Newtonsoft.Json.xml",
"newtonsoft.json.13.0.1.nupkg.sha512",
"newtonsoft.json.nuspec",
"packageIcon.png"
]
}
},
"projectFileDependencyGroups": {
"net5.0": [
"Newtonsoft.Json >= 13.0.1"
]
},
"packageFolders": {
"C:\\Users\\סארט\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\סארט\\source\\repos\\DownloadMyScript\\DownloadMyScript\\DownloadMyScript.csproj",
"projectName": "DownloadMyScript",
"projectPath": "C:\\Users\\סארט\\source\\repos\\DownloadMyScript\\DownloadMyScript\\DownloadMyScript.csproj",
"packagesPath": "C:\\Users\\סארט\\.nuget\\packages\\",
"outputPath": "C:\\Users\\סארט\\source\\repos\\DownloadMyScript\\DownloadMyScript\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\סארט\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net5.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Users\\סארט\\source\\repos\\NetWork": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"dependencies": {
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.1, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
}
}
}
}

View File

@@ -0,0 +1,10 @@
{
"version": 2,
"dgSpecHash": "PMTPDRGEm/HXTWcqwujTQlNlZX64Y/wdOapXAjVmGX1fbuhW2fnjCMmFUBhO073GZUuxxR8dTOJpcCGwIjg1IA==",
"success": true,
"projectFilePath": "C:\\Users\\סארט\\source\\repos\\DownloadMyScript\\DownloadMyScript\\DownloadMyScript.csproj",
"expectedPackageFiles": [
"C:\\Users\\סארט\\.nuget\\packages\\newtonsoft.json\\13.0.1\\newtonsoft.json.13.0.1.nupkg.sha512"
],
"logs": []
}

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Installizer/.vs/desktop.ini Normal file

Binary file not shown.

View File

@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31424.327
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Installizer", "Installizer\Installizer.csproj", "{3C87F9A8-0C2F-4874-BAA0-348727FEA7F3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{3C87F9A8-0C2F-4874-BAA0-348727FEA7F3}.Debug|x86.ActiveCfg = Debug|Any CPU
{3C87F9A8-0C2F-4874-BAA0-348727FEA7F3}.Debug|x86.Build.0 = Debug|Any CPU
{3C87F9A8-0C2F-4874-BAA0-348727FEA7F3}.Release|x86.ActiveCfg = Release|Any CPU
{3C87F9A8-0C2F-4874-BAA0-348727FEA7F3}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FC60DE32-A197-43B1-8E29-1A738FD3772B}
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,51 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Installizer
{
class ChocoInstaller
{
private string[] ListOfPackages;
public ChocoInstaller(string chocoListOfPackages)
{
this.ListOfPackages = System.IO.File.ReadAllLines(chocoListOfPackages);
}
private string GetLink(string chocoPack)
{
return $"https://community.chocolatey.org/packages/{chocoPack}";
}
private string GetPackageLink(string chocoPack)
{
string p = GetLink(chocoPack);
System.Net.WebRequest webRequest = System.Net.WebRequest.Create(p);
System.Net.HttpWebResponse response = (System.Net.HttpWebResponse)webRequest.GetResponse();
System.IO.Stream stream= response.GetResponseStream();
System.IO.StreamReader streamReader = new(stream);
response.Close();
stream.Close();
string data = streamReader.ReadToEnd();
return data;
}
private void DownloadPackage(string chocoPack)
{
string htmlData = GetPackageLink(chocoPack);
string path = $"C:/Users/Public/Desktop/PackDown/{chocoPack}.nupkg";
int begin = htmlData.IndexOf("https://community.chocolatey.org/api/v2/package");
int end = htmlData.IndexOf('"', begin) - 1;
System.Net.WebRequest webRequest = System.Net.WebRequest.Create(htmlData.Substring(begin, (end - begin)));
System.Net.WebResponse webResponse = webRequest.GetResponse();
System.IO.Stream stream = webRequest.GetRequestStream();
System.IO.StreamWriter streamWriter = new(path);
streamWriter.Write(stream);
}
public void SetContent(int idPack)
{
DownloadPackage(this.ListOfPackages[idPack]);
}
}
}

View File

@@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Platform>windows</Platform>
<MinimumPlatformVersion>7.0</MinimumPlatformVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ManagedNativeWifi" Version="2.1.0" />
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="NuGet.Packaging" Version="5.11.0" />
<PackageReference Include="TaskScheduler" Version="2.9.1" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,94 @@
namespace Installizer
{
class Program
{
#nullable enable
public static string requireInternetTasks = System.IO.Directory.GetFiles(@"C:\Users\Public\Desktop", @"RequireInternet.*", System.IO.SearchOption.AllDirectories)[0];
public static string regularTasks = System.IO.Directory.GetFiles(@"C:\Users\Public\Desktop", @"Regular.*", System.IO.SearchOption.AllDirectories)[0];
public static string serial = System.IO.Directory.GetFiles(@"C:\Users\Public\Desktop", @"Serial.*", System.IO.SearchOption.AllDirectories)[0];
public static string registrySettings = System.IO.Directory.GetFiles(@"C:\Users\Public\Desktop", @"registry.json", System.IO.SearchOption.AllDirectories)[0];
public static string[] wifis = System.IO.Directory.GetFiles(@"C:\Users\Public\Desktop", @"*.xml", System.IO.SearchOption.AllDirectories);
/// <summary>
///
/// </summary>
/// <param name="registryOption"></param>
public static void SetRegistryOption(Newtonsoft.Json.Linq.JObject registryOption)
{
try
{
if ((registryOption.ContainsKey("Key")) && (registryOption.ContainsKey("Name")) && (registryOption.ContainsKey("Value")))
{
if (registryOption.ContainsKey("Type"))
{
dynamic type;
string data = registryOption["Type"].ToString();
switch (data)
{
case "dword":
{
type = Microsoft.Win32.RegistryValueKind.DWord;
break;
}
case "hex":
{
type = Microsoft.Win32.RegistryValueKind.Binary;
break;
}
default:
{
type = Microsoft.Win32.RegistryValueKind.String;
break;
}
}
Microsoft.Win32.Registry.SetValue((string)registryOption["Key"], (string)registryOption["Name"], (string)registryOption["Value"], type);
}
}
}
catch
{
}
}
public static void SetRegistryOptions()
{
Newtonsoft.Json.Linq.JArray registryOption = (Newtonsoft.Json.Linq.JArray)Newtonsoft.Json.JsonConvert.DeserializeObject(System.IO.File.ReadAllText(registrySettings));
foreach (Newtonsoft.Json.Linq.JObject json in registryOption)
{
SetRegistryOption(json);
}
}
public static bool Connected()
{
return System.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable();
}
public static void AddWifi()
{
ManagedNativeWifi.ProfileDocument wifi = new(wifis[0]);
}
public static void RequireInternet()
{
if (Connected())
{
string[] tasks = System.IO.File.ReadAllLines(requireInternetTasks);
}
}
static void Main(string[] args)
{
//bool f = Connected();
//Console.WriteLine("Hello World!");
////AddWifi();
//RegistryCreator reg = new (@"D:\Neutral Folder\");
//reg.RegToJsonFile();
//ChocoInstaller chocoInstaller = new(@"D:\the Windows Deployment\Copy To Folders\Users\Public\Desktop\choco.txt");
//chocoInstaller.SetContent(0);
Tasker tasker = new Tasker("ab", "cd");
int[] i = new int[] { 1, 2 };
tasker.TaskActionsDefine(@"C:\Program Files\PowerShell\7\pwsh.exe", null, null);
tasker.TaskDailyTriggerrDefine("12:30");
//tasker.TaskSettingsDefine();
tasker.TaskPrincipal(user: "Feanor\\סארט");
tasker.RegisterTask();
System.Console.WriteLine("now");
}
}
}

Binary file not shown.

View File

@@ -0,0 +1,8 @@
{
"profiles": {
"Installizer": {
"commandName": "Project",
"remoteDebugEnabled": false
}
}
}

View File

@@ -0,0 +1,88 @@
namespace Installizer
{
class Registrayzier
{
private string regJson;
private string[] regFiles;
private System.Collections.Generic.List<System.Collections.Generic.Dictionary<string, string>> listOfRegistries = new();
public Registrayzier(string Folder)
{
this.regFiles = System.IO.Directory.GetFiles(Folder, "*.reg", System.IO.SearchOption.AllDirectories);
}
private string[] CropLocations(string regFileText)
{
return regFileText.Split("[")[1..^0];
}
private string GetKey(string regFileText)
{
regFileText = regFileText.Replace(@"\", @"\\");
if (regFileText.StartsWith("hk"))
{
regFileText = regFileText.Replace("hklm", "HKEY_LOCAL_MACHINE").Replace("hkcu", "HKEY_CURRENT_USER").Replace("hkcr", @"HKEY_LOCAL_MACHINE\SOFTWARE\Classes");
}
if (regFileText.Contains(']'))
{
return regFileText.Split("]")[0];
}
else if (regFileText.Contains("\r\n"))
{
return regFileText.Split("\r\n")[0];
}
else if (regFileText.Contains("\n"))
{
return regFileText.Split("\n")[0];
}
return regFileText;
}
private string[]? SplitReg(string regFileText)
{
if (regFileText.Contains("="))
{
return regFileText.Split("=");
}
return null;
}
private string GetName(string regFileText)
{
string name = SplitReg(regFileText)[0] ?? "";
return name;
}
private string GetType(string regFileText)
{
string type = SplitReg(regFileText)[1] ?? "";
if (type.Length == 0)
{
return "None";
}
else if (type.StartsWith("\""))
{
return "string";
}
else if (type.StartsWith("hex"))
{
return "hex";
}
return "dword";
}
private string GetValue(string regFileText)
{
string value;
string tempValue = SplitReg(regFileText)[1];
string type = GetType(regFileText);
if(type == "string")
{
value = tempValue;
}
else if(type == "dword")
{
value = tempValue.Split("dword:")[1];
}
else
{
value = "";
}
return value;
}
//private string
}
}

View File

@@ -0,0 +1,119 @@

namespace Installizer
{
public class RegistryCreator
{
private string regJson = @"[]";
private string regFolder;
private string[] regs;
public RegistryCreator(string Path)
{
this.regFolder = Path;
RegFiles();
}
private void RegFiles()
{
this.regs = System.IO.Directory.GetFiles(this.regFolder, "*.reg", System.IO.SearchOption.AllDirectories);
}
private string[] _cropRegFile(string regFileContent)
{
string[] regSplited = regFileContent.Split('[');
if(regSplited[0].StartsWith("Windows"))
{
regSplited = regSplited[1..^0];
}
return regSplited;
}
private string getKey(string regText)
{
System.Text.RegularExpressions.Regex regex = new(@"([A-z]|\\|{|}|[0-9])+");
return $"\"Key\":\"{regex.Match(regText).Value}\"".Replace(@"\",@"\\").Replace("]","");
}
private string getName(string regText)
{
System.Text.RegularExpressions.Regex regex = new(@"([A-z]|""|[א-ת]|[ךםןףץ]|[0-9])+");
string name = $"\"Name\":{regex.Match(regText.Split("=")[0]).Value}";
if (name.EndsWith(':'))
{
name += "\"(Default)\"";
}
return name;
}
private string getType(string regText)
{
if (regText.Length < 1)
{
return "";
}
if(regText.Contains(@"""="""))
{
return "\"Type\":\"string\"";
}
else if(regText.Contains("hex"))
{
return "\"Type\":\"hex\"";
}
return "\"Type\":\"dword\"";
}
private string getValue(string regText, string typeReg)
{
string value = "\"Value\":";
switch(typeReg)
{
case "\"Type\":\"dword\"":
{
System.Text.RegularExpressions.Regex regex = new(@"[0-9]+");
value += $"\"{regex.Match(regText.Split("dword:")[^1]).Value}\"";
break;
}
default:
{
value += $"{regText.Split("=")[^1]}";
break;
}
}
if(value.EndsWith(":"))
{
value += "\"\"";
}
return value;
}
private string regToJson(string regText)
{
string jsonReg = "";
string key = getKey(regText);
string[] regTexts = regText.Split("\r\n")[1..^0];
foreach (var reg in regTexts)
{
string type = getType(reg);
string value = getValue(reg, type);
string name = getName(reg);
jsonReg += $"{(char)123}{key},{name}, {value}, {type}{(char)125},";
}
try
{
return $"{jsonReg[0..^1]}";
}
catch
{
return jsonReg;
}
}
public void RegToJsonFile(string path = @"D:\Neutral Folder\registy.json")
{
string json = "[";
foreach(string regFile in this.regs)
{
string[] regContent = _cropRegFile(System.IO.File.ReadAllText(regFile));
foreach (string regIt in regContent)
{
json += $"{regToJson(regIt)},";
}
}
json += "]";
System.IO.File.WriteAllText(path,json);
}
}
}

View File

@@ -0,0 +1,240 @@
using Microsoft.Win32.TaskScheduler;
using Newtonsoft.Json.Linq;
namespace Installizer
{
class Tasker
{
string TaskName;
string TaskPath;
TaskService serv;
TaskDefinition taskDefinition;
public Tasker(string TaskName, string TaskPath)
{
this.TaskName = TaskName;
this.TaskPath = TaskPath;
this.serv = new();
this.taskDefinition = this.serv.NewTask();
}
public void TaskSettingsDefine(bool batteries = true, bool enable = true, bool startwhenavailibale = true, bool hidden = false)
{
this.taskDefinition.Settings.DisallowStartIfOnBatteries = !batteries;
this.taskDefinition.Settings.StopIfGoingOnBatteries = !batteries;
this.taskDefinition.Settings.Enabled = enable;
this.taskDefinition.Settings.StartWhenAvailable = startwhenavailibale;
this.taskDefinition.Settings.Hidden = hidden;
}
public void TaskPrincipal(bool highest = false, bool service = false, string user = "")
{
if (highest)
{
this.taskDefinition.Principal.RunLevel = TaskRunLevel.Highest;
}
else
{
this.taskDefinition.Principal.RunLevel = TaskRunLevel.LUA;
}
if (service)
{
this.taskDefinition.Principal.LogonType = TaskLogonType.S4U;
}
else
{
this.taskDefinition.Principal.LogonType = TaskLogonType.Password;
}
if (user != "")
{
this.taskDefinition.Principal.Id = user;
}
else
{
this.taskDefinition.Principal.Id = $"{System.Environment.MachineName}\\{System.Environment.UserName}";
}
}
private System.DateTime Day(int day)
{
if (day > 0 && day < 8)
{
return new System.DateTime(1977, 12, 31).AddDays(day);
}
return new System.DateTime(1978, 1, 1);
}
private System.DateTime HourTime(string time)
{
return System.DateTime.Parse(time);
}
public void TaskDailyTriggerrDefine(string hour)
{
DailyTrigger trigger = new();
trigger.Enabled = true;
int h = System.Int32.Parse(hour.Split(":")[0]);
int m = System.Int32.Parse(hour.Split(":")[1]);
trigger.StartBoundary = System.DateTime.Today + System.TimeSpan.FromHours(h) + System.TimeSpan.FromMinutes(m);
trigger.Repetition.Duration = System.TimeSpan.FromDays(1);
trigger.Repetition.Interval = System.TimeSpan.FromMinutes(1);
this.taskDefinition.Triggers.Add(trigger);
}
public void TaskDailyTriggersDefine(string[] hours)
{
foreach (string hour in hours)
{
TaskDailyTriggerrDefine(hour);
}
}
//public void TaskMonthlyTriggerDefine(int month, int day, string hour)
//{
// MonthlyTrigger trigger = new();
// int[] d = new int[] { day };
// trigger.DaysOfMonth = d;
// trigger.
//}
public void TaskWeeklyTriggerDefine(string hour, int day)
{
WeeklyTrigger trigger = new();
DaysOfTheWeek dayS;
switch (day)
{
case 1:
{
dayS = DaysOfTheWeek.Sunday;
break;
}
case 2:
{
dayS = DaysOfTheWeek.Monday;
break;
}
case 3:
{
dayS = DaysOfTheWeek.Tuesday;
break;
}
case 4:
{
dayS = DaysOfTheWeek.Wednesday;
break;
}
case 5:
{
dayS = DaysOfTheWeek.Thursday;
break;
}
case 6:
{
dayS = DaysOfTheWeek.Friday;
break;
}
default:
{
dayS = DaysOfTheWeek.Saturday;
break;
}
}
trigger.DaysOfWeek = dayS;
trigger.StartBoundary = System.DateTime.Parse(hour, System.Globalization.CultureInfo.InvariantCulture);
trigger.Repetition.Interval = System.TimeSpan.FromMinutes(1);
this.taskDefinition.Triggers.Add(trigger);
}
public void TaskActionsDefine(string app, string? argus, string? location)
{
ExecAction action = new();
action.Path = app;
if (argus != null)
{
action.Arguments = argus;
}
if (location != null)
{
action.WorkingDirectory = location;
}
this.taskDefinition.Actions.Add(action);
}
public void TaskActionsDefine(string[] apps, string?[] argus, string?[] locations)
{
for (int i = 0; i < apps.Length; i++)
{
TaskActionsDefine(apps[i], argus[i], locations[i]);
}
}
public void TaskWeeklyTriggerDefine(string hour, int[] days)
{
foreach (int day in days)
{
TaskWeeklyTriggerDefine(hour, day);
}
}
public void TaskWeeklyTriggerDefine(string[] hours, int[] days)
{
foreach (string hour in hours)
{
TaskWeeklyTriggerDefine(hour, days);
}
}
//public void TaskTriggersDefine(int[] days, string[] hours)
//{
// Trigger trigger;
// DateTime[] hrs = new DateTime[hours.Length];
// DateTime[] dates = new System.DateTime[days.Length];
// for (int i = 0; i < days.Length; i++)
// {
// foreach(string hor in hours)
// {
// if (days[i] > 0 && days[i] < 8)
// {
// dates[i] = System.DateTime.Parse($"0{days}/01/1978",null);
// int horr=Int32.Parse( hor.Split(":")[0]);
// int minn = Int32.Parse(hor.Split(":")[1]);
// dates[i] = dates[i].AddHours(horr);
// dates[i].AddMinutes(minn);
// }
// }
// }
// trigger.StartBoundary = new DateTime[dates.Length];
//}
public void RegisterTask()
{
this.taskDefinition.RegistrationInfo.Description = "texutal ttext";
try
{
this.serv.RootFolder.RegisterTaskDefinition($"{this.TaskPath}\\{this.TaskName}", this.taskDefinition);
}
catch
{
this.serv.RootFolder.RegisterTaskDefinition(this.TaskPath, this.taskDefinition);
}
//TaskService.Instance.RootFolder.RegisterTaskDefinition($"{this.TaskPath}\\{this.TaskName}", this.taskDefinition, TaskCreation.CreateOrUpdate, "סארט", null, TaskLogonType.Password);
//serv.RootFolder.RegisterTaskDefinition(TaskPath);
}
public void ExportJson()
{
JObject Task = new();
Task.Add(new JProperty("TaskName", this.TaskName));
Task.Add(new JProperty("TaskPath", this.TaskPath));
JArray actions = new();
foreach (var act in this.taskDefinition.Actions)
{
JArray array = new();
array.Add(((ExecAction)act).Path);
array.Add(((ExecAction)act).Arguments);
array.Add(((ExecAction)act).WorkingDirectory);
actions.Add(array);
}
foreach (var trig in this.taskDefinition.Triggers)
{
JArray triggers = new JArray();
// TODO: continue
}
//Task.Add(new JProperty())
}
}
}

View File

@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC Manifest Options
If you want to change the Windows User Account Control level replace the
requestedExecutionLevel node with one of the following.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
Specifying requestedExecutionLevel element will disable file and registry virtualization.
Remove this element if your application requires this virtualization for backwards
compatibility.
-->
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- A list of the Windows versions that this application has been tested on
and is designed to work with. Uncomment the appropriate elements
and Windows will automatically select the most compatible environment. -->
<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
<!-- Windows 10 -->
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
</application>
</compatibility>
<!-- Indicates that the application is DPI-aware and will not be automatically scaled by Windows at higher
DPIs. Windows Presentation Foundation (WPF) applications are automatically DPI-aware and do not need
to opt in. Windows Forms applications targeting .NET Framework 4.6 that opt into this setting, should
also set the 'EnableWindowsFormsHighDpiAutoResizing' setting to 'true' in their app.config.
Makes the application long-path aware. See https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation -->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
</windowsSettings>
</application>
-->
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->
</assembly>

Binary file not shown.

View File

@@ -0,0 +1,332 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v5.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v5.0": {
"Installizer/1.0.0": {
"dependencies": {
"ManagedNativeWifi": "2.1.0",
"Microsoft.Win32.Registry": "5.0.0",
"Newtonsoft.Json": "13.0.1",
"NuGet.Packaging": "5.11.0",
"TaskScheduler": "2.9.1"
},
"runtime": {
"Installizer.dll": {}
}
},
"ManagedNativeWifi/2.1.0": {
"runtime": {
"lib/net5.0/ManagedNativeWifi.dll": {
"assemblyVersion": "2.1.0.0",
"fileVersion": "2.1.0.0"
}
}
},
"Microsoft.NETCore.Platforms/5.0.0": {},
"Microsoft.Win32.Registry/5.0.0": {
"dependencies": {
"System.Security.AccessControl": "5.0.0",
"System.Security.Principal.Windows": "5.0.0"
}
},
"Newtonsoft.Json/13.0.1": {
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.1.25517"
}
}
},
"NuGet.Common/5.11.0": {
"dependencies": {
"NuGet.Frameworks": "5.11.0"
},
"runtime": {
"lib/netstandard2.0/NuGet.Common.dll": {
"assemblyVersion": "5.11.0.10",
"fileVersion": "5.11.0.10"
}
}
},
"NuGet.Configuration/5.11.0": {
"dependencies": {
"NuGet.Common": "5.11.0",
"System.Security.Cryptography.ProtectedData": "4.4.0"
},
"runtime": {
"lib/netstandard2.0/NuGet.Configuration.dll": {
"assemblyVersion": "5.11.0.10",
"fileVersion": "5.11.0.10"
}
}
},
"NuGet.Frameworks/5.11.0": {
"runtime": {
"lib/netstandard2.0/NuGet.Frameworks.dll": {
"assemblyVersion": "5.11.0.10",
"fileVersion": "5.11.0.10"
}
}
},
"NuGet.Packaging/5.11.0": {
"dependencies": {
"Newtonsoft.Json": "13.0.1",
"NuGet.Configuration": "5.11.0",
"NuGet.Versioning": "5.11.0",
"System.Security.Cryptography.Cng": "5.0.0",
"System.Security.Cryptography.Pkcs": "5.0.0"
},
"runtime": {
"lib/net5.0/NuGet.Packaging.dll": {
"assemblyVersion": "5.11.0.10",
"fileVersion": "5.11.0.10"
}
}
},
"NuGet.Versioning/5.11.0": {
"runtime": {
"lib/netstandard2.0/NuGet.Versioning.dll": {
"assemblyVersion": "5.11.0.10",
"fileVersion": "5.11.0.10"
}
}
},
"System.Diagnostics.EventLog/5.0.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "5.0.0",
"Microsoft.Win32.Registry": "5.0.0",
"System.Security.Principal.Windows": "5.0.0"
},
"runtime": {
"lib/netstandard2.0/System.Diagnostics.EventLog.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.20.51904"
}
},
"runtimeTargets": {
"runtimes/win/lib/netcoreapp2.0/System.Diagnostics.EventLog.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.20.51904"
}
}
},
"System.Formats.Asn1/5.0.0": {},
"System.Security.AccessControl/5.0.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "5.0.0",
"System.Security.Principal.Windows": "5.0.0"
}
},
"System.Security.Cryptography.Cng/5.0.0": {
"dependencies": {
"System.Formats.Asn1": "5.0.0"
}
},
"System.Security.Cryptography.Pkcs/5.0.0": {
"dependencies": {
"System.Formats.Asn1": "5.0.0",
"System.Security.Cryptography.Cng": "5.0.0"
},
"runtime": {
"lib/netcoreapp3.0/System.Security.Cryptography.Pkcs.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.20.51904"
}
},
"runtimeTargets": {
"runtimes/win/lib/netcoreapp3.0/System.Security.Cryptography.Pkcs.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.20.51904"
}
}
},
"System.Security.Cryptography.ProtectedData/4.4.0": {
"runtime": {
"lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": {
"assemblyVersion": "4.0.2.0",
"fileVersion": "4.6.25519.3"
}
},
"runtimeTargets": {
"runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "4.0.2.0",
"fileVersion": "4.6.25519.3"
}
}
},
"System.Security.Principal.Windows/5.0.0": {},
"TaskScheduler/2.9.1": {
"dependencies": {
"Microsoft.Win32.Registry": "5.0.0",
"System.Diagnostics.EventLog": "5.0.0",
"System.Security.AccessControl": "5.0.0"
},
"runtime": {
"lib/netcoreapp3.1/Microsoft.Win32.TaskScheduler.dll": {
"assemblyVersion": "2.9.1.0",
"fileVersion": "2.9.1.0"
}
},
"resources": {
"lib/netcoreapp3.1/de/Microsoft.Win32.TaskScheduler.resources.dll": {
"locale": "de"
},
"lib/netcoreapp3.1/es/Microsoft.Win32.TaskScheduler.resources.dll": {
"locale": "es"
},
"lib/netcoreapp3.1/fr/Microsoft.Win32.TaskScheduler.resources.dll": {
"locale": "fr"
},
"lib/netcoreapp3.1/it/Microsoft.Win32.TaskScheduler.resources.dll": {
"locale": "it"
},
"lib/netcoreapp3.1/pl/Microsoft.Win32.TaskScheduler.resources.dll": {
"locale": "pl"
},
"lib/netcoreapp3.1/ru/Microsoft.Win32.TaskScheduler.resources.dll": {
"locale": "ru"
},
"lib/netcoreapp3.1/zh-CN/Microsoft.Win32.TaskScheduler.resources.dll": {
"locale": "zh-CN"
}
}
}
}
},
"libraries": {
"Installizer/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"ManagedNativeWifi/2.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-JljrCZt9ZzDj4+0INn3ppASTSHJI1NUwZo5P4SkG10hK2CiGc8XassdgJphQ7Izf3aEmxmP9XCjI40LXNE08fw==",
"path": "managednativewifi/2.1.0",
"hashPath": "managednativewifi.2.1.0.nupkg.sha512"
},
"Microsoft.NETCore.Platforms/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ==",
"path": "microsoft.netcore.platforms/5.0.0",
"hashPath": "microsoft.netcore.platforms.5.0.0.nupkg.sha512"
},
"Microsoft.Win32.Registry/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==",
"path": "microsoft.win32.registry/5.0.0",
"hashPath": "microsoft.win32.registry.5.0.0.nupkg.sha512"
},
"Newtonsoft.Json/13.0.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
"path": "newtonsoft.json/13.0.1",
"hashPath": "newtonsoft.json.13.0.1.nupkg.sha512"
},
"NuGet.Common/5.11.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-WCHexQBfSqBDRqP3PSDSUw7YM+PwuvMHGAkT/sXI5UHze4T41yLE+VB/km2Fe0z9y3m2mudcr2djFZezivjMJw==",
"path": "nuget.common/5.11.0",
"hashPath": "nuget.common.5.11.0.nupkg.sha512"
},
"NuGet.Configuration/5.11.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-NqsQe198CTHoo7NMrKQL8utd6n9yVb9CPgJmpyF6kpEsLFo/9r0wqGL3ln8Mtcz8yuJpOPWFQEoOlzDzu3LfUg==",
"path": "nuget.configuration/5.11.0",
"hashPath": "nuget.configuration.5.11.0.nupkg.sha512"
},
"NuGet.Frameworks/5.11.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-eaiXkUjC4NPcquGWzAGMXjuxvLwc6XGKMptSyOGQeT0X70BUZObuybJFZLA0OfTdueLd3US23NBPTBb6iF3V1Q==",
"path": "nuget.frameworks/5.11.0",
"hashPath": "nuget.frameworks.5.11.0.nupkg.sha512"
},
"NuGet.Packaging/5.11.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-knlpQuqTL8BEXUHTdZ9Wlz3pjck5nv0OYsCpSkaQAukl7fFcX4apAs8cwJgxHiEZjfWNG1npZOzpYdHG59v5xQ==",
"path": "nuget.packaging/5.11.0",
"hashPath": "nuget.packaging.5.11.0.nupkg.sha512"
},
"NuGet.Versioning/5.11.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-mCv/GzvMk5iatWoZY41PoIShEbwVxq9CDCc1fV/uqPFKZ4DD/1JuKZ5AL/FJJRsTanvMR3EOXKYCLdQ7PFYn8Q==",
"path": "nuget.versioning/5.11.0",
"hashPath": "nuget.versioning.5.11.0.nupkg.sha512"
},
"System.Diagnostics.EventLog/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-FHkCwUfsTs+/5tsK+c0egLfacUgbhvcwi3wUFWSEEArSXao343mYqcpOVVFMlcCkdNtjU4YwAWaKYwal6f02og==",
"path": "system.diagnostics.eventlog/5.0.0",
"hashPath": "system.diagnostics.eventlog.5.0.0.nupkg.sha512"
},
"System.Formats.Asn1/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-MTvUIktmemNB+El0Fgw9egyqT9AYSIk6DTJeoDSpc3GIHxHCMo8COqkWT1mptX5tZ1SlQ6HJZ0OsSvMth1c12w==",
"path": "system.formats.asn1/5.0.0",
"hashPath": "system.formats.asn1.5.0.0.nupkg.sha512"
},
"System.Security.AccessControl/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==",
"path": "system.security.accesscontrol/5.0.0",
"hashPath": "system.security.accesscontrol.5.0.0.nupkg.sha512"
},
"System.Security.Cryptography.Cng/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-jIMXsKn94T9JY7PvPq/tMfqa6GAaHpElRDpmG+SuL+D3+sTw2M8VhnibKnN8Tq+4JqbPJ/f+BwtLeDMEnzAvRg==",
"path": "system.security.cryptography.cng/5.0.0",
"hashPath": "system.security.cryptography.cng.5.0.0.nupkg.sha512"
},
"System.Security.Cryptography.Pkcs/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-9TPLGjBCGKmNvG8pjwPeuYy0SMVmGZRwlTZvyPHDbYv/DRkoeumJdfumaaDNQzVGMEmbWtg07zUpSW9q70IlDQ==",
"path": "system.security.cryptography.pkcs/5.0.0",
"hashPath": "system.security.cryptography.pkcs.5.0.0.nupkg.sha512"
},
"System.Security.Cryptography.ProtectedData/4.4.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cJV7ScGW7EhatRsjehfvvYVBvtiSMKgN8bOVI0bQhnF5bU7vnHVIsH49Kva7i7GWaWYvmEzkYVk1TC+gZYBEog==",
"path": "system.security.cryptography.protecteddata/4.4.0",
"hashPath": "system.security.cryptography.protecteddata.4.4.0.nupkg.sha512"
},
"System.Security.Principal.Windows/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==",
"path": "system.security.principal.windows/5.0.0",
"hashPath": "system.security.principal.windows.5.0.0.nupkg.sha512"
},
"TaskScheduler/2.9.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-wtiNKxMnWS4lpVvJooJM7FbATUpENusKsPfyV1gbusJS9WyZ7XfVp+S75XK8tpD4Grm6XQmTOlxwz2K4sCmPOw==",
"path": "taskscheduler/2.9.1",
"hashPath": "taskscheduler.2.9.1.nupkg.sha512"
}
}
}

View File

@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\סארט\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\סארט\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
]
}
}

View File

@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net5.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "5.0.0"
}
}
}

Some files were not shown because too many files have changed in this diff Show More