我滴个乖乖

This commit is contained in:
zel
2025-02-20 15:20:28 +08:00
parent 4b54cca70b
commit 485cfcd6f2
2343 changed files with 495732 additions and 1022 deletions

73
ZelWiki.Security/CRC32.cs Normal file
View File

@@ -0,0 +1,73 @@
namespace ZelWiki.Security
{
/// <summary>
/// Performs 32-bit reversed cyclic redundancy checks.
/// </summary>
public class Crc32
{
#region Constants
/// <summary>
/// Generator polynomial (modulo 2) for the reversed CRC32 algorithm.
/// </summary>
private const UInt32 s_generator = 0xEDB88320;
#endregion
#region Constructors
/// <summary>
/// Creates a new instance of the Crc32 class.
/// </summary>
public Crc32()
{
// Constructs the checksum lookup table. Used to optimize the checksum.
m_checksumTable = Enumerable.Range(0, 256).Select(i =>
{
var tableEntry = (uint)i;
for (var j = 0; j < 8; ++j)
{
tableEntry = ((tableEntry & 1) != 0)
? (s_generator ^ (tableEntry >> 1))
: (tableEntry >> 1);
}
return tableEntry;
}).ToArray();
}
#endregion
#region Methods
/// <summary>
/// Calculates the checksum of the byte stream.
/// </summary>
/// <param name="byteStream">The byte stream to calculate the checksum for.</param>
/// <returns>A 32-bit reversed checksum.</returns>
public UInt32 Get<T>(IEnumerable<T> byteStream)
{
try
{
// Initialize checksumRegister to 0xFFFFFFFF and calculate the checksum.
return ~byteStream.Aggregate(0xFFFFFFFF, (checksumRegister, currentByte) =>
(m_checksumTable[(checksumRegister & 0xFF) ^ Convert.ToByte(currentByte)] ^ (checksumRegister >> 8)));
}
catch (FormatException e)
{
throw new Exception("Could not read the stream out as bytes.", e);
}
catch (InvalidCastException e)
{
throw new Exception("Could not read the stream out as bytes.", e);
}
catch (OverflowException e)
{
throw new Exception("Could not read the stream out as bytes.", e);
}
}
#endregion
#region Fields
/// <summary>
/// Contains a cache of calculated checksum chunks.
/// </summary>
private readonly UInt32[] m_checksumTable;
#endregion
}
}

View File

@@ -0,0 +1,98 @@
using System.Security.Cryptography;
using System.Text;
namespace ZelWiki.Security
{
public static class Helpers
{
private static string? _machineKey;
public static string MachineKey
=> _machineKey ??= Sha1(Environment.MachineName);
public static string GenerateRandomString(int maxLength = 10)
{
using var crypto = Aes.Create();
crypto.GenerateKey();
var result = Convert.ToBase64String(crypto.Key).Replace("/", "").Replace("=", "").Replace("+", "");
if (result.Length > maxLength)
{
result = result.Substring(0, maxLength);
}
return result.ToUpper();
}
public static int Crc32(string text)
=> (int)(new Crc32()).Get(Encoding.Unicode.GetBytes(text));
public static int Crc32(byte[] bytes)
=> (int)(new Crc32()).Get(bytes);
public static string Sha1(string text)
=> BitConverter.ToString(SHA1.HashData(Encoding.Unicode.GetBytes(text))).Replace("-", "");
public static string Sha256(string value)
{
var hash = new StringBuilder();
byte[] crypto = SHA256.HashData(Encoding.UTF8.GetBytes(value));
foreach (byte theByte in crypto)
{
hash.Append(theByte.ToString("x2"));
}
return hash.ToString();
}
public static string EncryptString(string key, string plainText)
{
using var aes = Aes.Create();
byte[] iv = new byte[16];
byte[] keyBytes = SHA256.HashData(Encoding.Unicode.GetBytes(key));
byte[] vector = (byte[])keyBytes.Clone();
for (int i = 0; i < 16; i++)
{
iv[i] = vector[i];
}
aes.Key = keyBytes;
aes.IV = iv;
var encryptor = aes.CreateEncryptor(aes.Key, aes.IV);
using var memoryStream = new MemoryStream();
using var cryptoStream = new CryptoStream(memoryStream, encryptor, CryptoStreamMode.Write);
using (var streamWriter = new StreamWriter(cryptoStream))
{
streamWriter.Write(plainText);
}
return Convert.ToBase64String(memoryStream.ToArray());
}
public static string DecryptString(string key, string cipherText)
{
byte[] buffer = Convert.FromBase64String(cipherText);
using var aes = Aes.Create();
byte[] iv = new byte[16];
byte[] keyBytes = SHA256.HashData(Encoding.Unicode.GetBytes(key));
byte[] vector = (byte[])keyBytes.Clone();
for (int i = 0; i < 16; i++)
{
iv[i] = vector[i];
}
aes.Key = keyBytes;
aes.IV = iv;
var cryptoTransform = aes.CreateDecryptor(aes.Key, aes.IV);
using var memoryStream = new MemoryStream(buffer);
using var cryptoStream = new CryptoStream(memoryStream, cryptoTransform, CryptoStreamMode.Read);
using var streamReader = new StreamReader(cryptoStream);
return streamReader.ReadToEnd();
}
}
}

View File

@@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>2.20.1</Version>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<DebugSymbols>False</DebugSymbols>
<DebugType>None</DebugType>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v9.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v9.0": {
"TightWiki.Security/2.20.1": {
"runtime": {
"TightWiki.Security.dll": {}
}
}
}
},
"libraries": {
"TightWiki.Security/2.20.1": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View File

@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v9.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v9.0": {
"ZelWiki.Security/2.20.1": {
"runtime": {
"ZelWiki.Security.dll": {}
}
}
}
},
"libraries": {
"ZelWiki.Security/2.20.1": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

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=v9.0", FrameworkDisplayName = ".NET 9.0")]

View File

@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("TightWiki.Security")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.20.1.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("2.20.1+4b54cca70b03a58af51ef6debdd012251f258bbb")]
[assembly: System.Reflection.AssemblyProductAttribute("TightWiki.Security")]
[assembly: System.Reflection.AssemblyTitleAttribute("TightWiki.Security")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.20.1.0")]
// 由 MSBuild WriteCodeFragment 类生成。

View File

@@ -0,0 +1 @@
54ded0fd81fedfcd0ac6b6eef990693f568b20987605c33b1dcd336a30dfa051

View File

@@ -0,0 +1,15 @@
is_global = true
build_property.TargetFramework = net9.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = TightWiki.Security
build_property.ProjectDir = E:\HelloWord\nysj2\TightWiki.Security\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 9.0
build_property.EnableCodeStyleSeverity =

View File

@@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@@ -0,0 +1 @@
d4cceb40050d3db958b739270281ce477900488f05b36280b6853f5a3ad2d9b1

View File

@@ -0,0 +1,11 @@
E:\HelloWord\nysj2\TightWiki.Security\bin\Debug\net9.0\TightWiki.Security.deps.json
E:\HelloWord\nysj2\TightWiki.Security\bin\Debug\net9.0\TightWiki.Security.dll
E:\HelloWord\nysj2\TightWiki.Security\bin\Debug\net9.0\TightWiki.Security.pdb
E:\HelloWord\nysj2\TightWiki.Security\obj\Debug\net9.0\TightWiki.Security.GeneratedMSBuildEditorConfig.editorconfig
E:\HelloWord\nysj2\TightWiki.Security\obj\Debug\net9.0\TightWiki.Security.AssemblyInfoInputs.cache
E:\HelloWord\nysj2\TightWiki.Security\obj\Debug\net9.0\TightWiki.Security.AssemblyInfo.cs
E:\HelloWord\nysj2\TightWiki.Security\obj\Debug\net9.0\TightWiki.Security.csproj.CoreCompileInputs.cache
E:\HelloWord\nysj2\TightWiki.Security\obj\Debug\net9.0\TightWiki.Security.dll
E:\HelloWord\nysj2\TightWiki.Security\obj\Debug\net9.0\refint\TightWiki.Security.dll
E:\HelloWord\nysj2\TightWiki.Security\obj\Debug\net9.0\TightWiki.Security.pdb
E:\HelloWord\nysj2\TightWiki.Security\obj\Debug\net9.0\ref\TightWiki.Security.dll

View File

@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("ZelWiki.Security")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.20.1.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("2.20.1+4b54cca70b03a58af51ef6debdd012251f258bbb")]
[assembly: System.Reflection.AssemblyProductAttribute("ZelWiki.Security")]
[assembly: System.Reflection.AssemblyTitleAttribute("ZelWiki.Security")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.20.1.0")]
// 由 MSBuild WriteCodeFragment 类生成。

View File

@@ -0,0 +1 @@
22de79064d0ec539ff3af0cb80c81bfe26d8c7a905956067ad8360c1f2fbbfd1

View File

@@ -0,0 +1,15 @@
is_global = true
build_property.TargetFramework = net9.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = ZelWiki.Security
build_property.ProjectDir = E:\HelloWord\nysj2\ZelWiki.Security\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 9.0
build_property.EnableCodeStyleSeverity =

View File

@@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@@ -0,0 +1 @@
07039345fd7e973828fa020c17e1b48e5165e777b44af268b6ae3e13f65c5397

View File

@@ -0,0 +1,11 @@
E:\HelloWord\nysj2\ZelWiki.Security\bin\Debug\net9.0\ZelWiki.Security.deps.json
E:\HelloWord\nysj2\ZelWiki.Security\bin\Debug\net9.0\ZelWiki.Security.dll
E:\HelloWord\nysj2\ZelWiki.Security\bin\Debug\net9.0\ZelWiki.Security.pdb
E:\HelloWord\nysj2\ZelWiki.Security\obj\Debug\net9.0\ZelWiki.Security.GeneratedMSBuildEditorConfig.editorconfig
E:\HelloWord\nysj2\ZelWiki.Security\obj\Debug\net9.0\ZelWiki.Security.AssemblyInfoInputs.cache
E:\HelloWord\nysj2\ZelWiki.Security\obj\Debug\net9.0\ZelWiki.Security.AssemblyInfo.cs
E:\HelloWord\nysj2\ZelWiki.Security\obj\Debug\net9.0\ZelWiki.Security.csproj.CoreCompileInputs.cache
E:\HelloWord\nysj2\ZelWiki.Security\obj\Debug\net9.0\ZelWiki.Security.dll
E:\HelloWord\nysj2\ZelWiki.Security\obj\Debug\net9.0\refint\ZelWiki.Security.dll
E:\HelloWord\nysj2\ZelWiki.Security\obj\Debug\net9.0\ZelWiki.Security.pdb
E:\HelloWord\nysj2\ZelWiki.Security\obj\Debug\net9.0\ref\ZelWiki.Security.dll

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,73 @@
{
"format": 1,
"restore": {
"E:\\HelloWord\\nysj2\\TightWiki.Security\\TightWiki.Security.csproj": {}
},
"projects": {
"E:\\HelloWord\\nysj2\\TightWiki.Security\\TightWiki.Security.csproj": {
"version": "2.20.1",
"restore": {
"projectUniqueName": "E:\\HelloWord\\nysj2\\TightWiki.Security\\TightWiki.Security.csproj",
"projectName": "TightWiki.Security",
"projectPath": "E:\\HelloWord\\nysj2\\TightWiki.Security\\TightWiki.Security.csproj",
"packagesPath": "C:\\Users\\Zel\\.nuget\\packages\\",
"outputPath": "E:\\HelloWord\\nysj2\\TightWiki.Security\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Zel\\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": [
"net9.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.102/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,16 @@
<?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\Zel\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.3</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Zel\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@@ -0,0 +1,73 @@
{
"format": 1,
"restore": {
"E:\\HelloWord\\nysj2\\ZelWiki.Security\\ZelWiki.Security.csproj": {}
},
"projects": {
"E:\\HelloWord\\nysj2\\ZelWiki.Security\\ZelWiki.Security.csproj": {
"version": "2.20.1",
"restore": {
"projectUniqueName": "E:\\HelloWord\\nysj2\\ZelWiki.Security\\ZelWiki.Security.csproj",
"projectName": "ZelWiki.Security",
"projectPath": "E:\\HelloWord\\nysj2\\ZelWiki.Security\\ZelWiki.Security.csproj",
"packagesPath": "C:\\Users\\Zel\\.nuget\\packages\\",
"outputPath": "E:\\HelloWord\\nysj2\\ZelWiki.Security\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Zel\\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": [
"net9.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.102/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,16 @@
<?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\Zel\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.3</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Zel\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@@ -0,0 +1,79 @@
{
"version": 3,
"targets": {
"net9.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net9.0": []
},
"packageFolders": {
"C:\\Users\\Zel\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "2.20.1",
"restore": {
"projectUniqueName": "E:\\HelloWord\\nysj2\\ZelWiki.Security\\ZelWiki.Security.csproj",
"projectName": "ZelWiki.Security",
"projectPath": "E:\\HelloWord\\nysj2\\ZelWiki.Security\\ZelWiki.Security.csproj",
"packagesPath": "C:\\Users\\Zel\\.nuget\\packages\\",
"outputPath": "E:\\HelloWord\\nysj2\\ZelWiki.Security\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Zel\\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": [
"net9.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.102/PortableRuntimeIdentifierGraph.json"
}
}
}
}

View File

@@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "NZve70dSvoA=",
"success": true,
"projectFilePath": "E:\\HelloWord\\nysj2\\ZelWiki.Security\\ZelWiki.Security.csproj",
"expectedPackageFiles": [],
"logs": []
}

View File

@@ -0,0 +1 @@
"restore":{"projectUniqueName":"E:\\HelloWord\\nysj2\\TightWiki.Security\\TightWiki.Security.csproj","projectName":"TightWiki.Security","projectPath":"E:\\HelloWord\\nysj2\\TightWiki.Security\\TightWiki.Security.csproj","outputPath":"E:\\HelloWord\\nysj2\\TightWiki.Security\\obj\\","projectStyle":"PackageReference","fallbackFolders":["C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"],"originalTargetFrameworks":["net9.0"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net9.0":{"targetAlias":"net9.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"}}"frameworks":{"net9.0":{"targetAlias":"net9.0","imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\9.0.102/PortableRuntimeIdentifierGraph.json"}}

View File

@@ -0,0 +1 @@
17399550707699350

View File

@@ -0,0 +1 @@
17400197391442031