Galosoft.IaaS.AplloConfig 24.12.4.1-nj

This is a prerelease version of Galosoft.IaaS.AplloConfig.
dotnet add package Galosoft.IaaS.AplloConfig --version 24.12.4.1-nj                
NuGet\Install-Package Galosoft.IaaS.AplloConfig -Version 24.12.4.1-nj                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Galosoft.IaaS.AplloConfig" Version="24.12.4.1-nj" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Galosoft.IaaS.AplloConfig --version 24.12.4.1-nj                
#r "nuget: Galosoft.IaaS.AplloConfig, 24.12.4.1-nj"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Galosoft.IaaS.AplloConfig as a Cake Addin
#addin nuget:?package=Galosoft.IaaS.AplloConfig&version=24.12.4.1-nj&prerelease

// Install Galosoft.IaaS.AplloConfig as a Cake Tool
#tool nuget:?package=Galosoft.IaaS.AplloConfig&version=24.12.4.1-nj&prerelease                

⇒ 仅用于framework项目的集成,方便使用

gzip

var zipped = "json".ToGZipCompress();
var original = zipped.ToGZipDecompress();

security

var original = "fck";
var hashed = SecurityTemplate.Md5Encrypt(original);
var encrypted = SecurityTemplate.DesEncrypt(original);
original = SecurityTemplate.DesDecrypt(encrypted);

encrypted = SecurityTemplate.AesEncrypt(original, "123");
original = SecurityTemplate.AesDecrypt(encrypted, "123");

var sample = new SampleDto() { Name = "galos", State = "default" }; //galoS@2024-3-4 14:26:11
var key = "12345";
var rt = SecurityTemplate.AesEncrypt(sample, key);
sample = SecurityTemplate.AesDecrypt<SampleDto>(rt, key);

var pub = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDM9As4OkFLUyEmtqVJJaHkAf0xKR3aq38q6FqSi1vQfy1hUjhh/Z8k5NaT2WnmnchGUOoGsvwtKVAHrS62qvWzAPy7sauvG/O7hu1l+3SsrRDtv/O6hqRjEbPex/hpZM1opdkDtiiuHB5wHFYnD7JouWme9lNAViRcj4bXfqnZqwIDAQAB";
string @private = "MIICeQIBADANBgkqhkiG9w0BAQEFAASCAmMwggJfAgEAAoGBAMz0Czg6QUtTISa2pUkloeQB/TEpHdqrfyroWpKLW9B/LWFSOGH9nyTk1pPZaeadyEZQ6gay/C0pUAetLraq9bMA/Luxq68b87uG7WX7dKytEO2/87qGpGMRs97H+GlkzWil2QO2KK4cHnAcVicPsmi5aZ72U0BWJFyPhtd+qdmrAgMBAAECgYEAvW67iAbgHt0BASVD9C3iSjpEaVHVlC165o/IVzaTcEx8Bz3Ve0zN8W3JnvIO3ebsG4HiLLr2Nk++9rltOc0eNeGMv7F1e/OFot1wN0ON6s1g4bYh1z5Uz8FcYiMWcqHHICrx+oSFeK9x+I2Zge7enQXcsVnqEhm77ZE5YczSryECQQD9nB58e5efYchF+cYbmURioX18cUMuhQbB9Aq2N55cd689Lg35KZqT8JQTp/8tQSdCJG8d2nU8VKspUKTEAuaDAkEAzuKIIoc9PVJvy90LhIPA9c1S8BPCI7EMCaTZqJ5o3VaR2dqvUZDGX7kL3kYkQ+n7mq3KIECvkEFzA+FOP96XuQJBAJQTKHW0T/YeSKoayUHp/lS8R6F2HCy4PRbXn71+wfbpZqcJEd2OHhQM3tiPOV258esbjMlYeSUNppZL4LgVnXMCQQC7Lvs9Ql+GPDAqo7ToEM1lmICR906QPIBHuX+1sJ3wpYMROWumwPa7ZRH36j6ls+6R5OwcgmpWeuE1gYTrBNsBAkEAn2pEtAljX1foQff6CLozYg/J6J9RmVFcJ6qz0LX3052qNFBQYw8CMHB7VkVNzsDIDC8LX5uP2pzTrdPLew+pPA==";
encrypted = SecurityTemplate.RSAEncrypt(original, pub);
original = SecurityTemplate.RSADecrypt(encrypted, @private);

 var licenseInfo = "菲尼克斯";
                    var license = SecurityTemplate.GenerateLicense(licenseInfo);
                    var b = SecurityTemplate.ValidateLicense($"{license}_");

process

  var p = new Process().Start("cmd.exe", runAsAdministrator: true);
                    p = new Process().Browser("https://www.cnblogs.com/daimaxuejia/p/11854889.html", "edge.exe");
                    p = new Process().Browser("https://www.cnblogs.com/daimaxuejia/p/11854889.html");
                    p = new Process().Explore("c://");
                    p = new Process().Script("dotnet.exe", "info");
                    p = new Process().Script("cmd.exe");

random

var code = Random.Shared.GenerateCaptcha();
code = Random.Shared.GenerateSms();

  var id = LocalGenerator.NextId();
                    var key = LocalGenerator.NextCouponKey();
                    Enumerable.Range(0, 15).Slice(i =>
                    {
                        var seq = LocalGenerator.NextSeqKey();
                        Trace.WriteLine(seq, "“Seq”");
                    },1);
                    var guid = LocalGenerator.NextGuid();
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.