Galosoft.IaaS.Core 24.12.4.1-nj

This is a prerelease version of Galosoft.IaaS.Core.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Galosoft.IaaS.Core --version 24.12.4.1-nj                
NuGet\Install-Package Galosoft.IaaS.Core -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.Core" 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.Core --version 24.12.4.1-nj                
#r "nuget: Galosoft.IaaS.Core, 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.Core as a Cake Addin
#addin nuget:?package=Galosoft.IaaS.Core&version=24.12.4.1-nj&prerelease

// Install Galosoft.IaaS.Core as a Cake Tool
#tool nuget:?package=Galosoft.IaaS.Core&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 (26)

Showing the top 5 NuGet packages that depend on Galosoft.IaaS.Core:

Package Downloads
Galosoft.IaaS.AspNetCore

Galosoft.IaaS快速开发库

Galosoft.IaaS.RabbitMQ

Galosoft.IaaS快速开发库

Galosoft.IaaS.HttpClient

Galosoft.IaaS快速开发库

Galosoft.IaaS.Consul

Galosoft.IaaS快速开发库

Galosoft.IaaS.Dapper

Galosoft.IaaS快速开发库

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.12.17.3-nj 36 12/19/2024
24.12.17.2-nj 36 12/19/2024
24.12.17.1-nj 42 12/18/2024
24.12.17-nj 53 12/17/2024
24.12.16.1-nj 26 12/16/2024
24.12.16-nj 51 12/16/2024
24.12.4.3-nj 51 12/5/2024
24.12.4.2-nj 51 12/4/2024
24.12.4.1-nj 47 12/4/2024
24.12.4-nj 57 12/3/2024
24.11.26-nj 49 11/27/2024
24.11.20.1-nj 51 11/26/2024
24.11.18-nj 50 11/18/2024
24.11.15-nj 45 11/15/2024
24.11.13-nj 53 11/14/2024
24.10.27.3-nj 69 10/27/2024
24.10.27.1-nj 55 10/27/2024
24.10.27-nj 60 10/27/2024
1.0.0-nj 64 6/19/2024