|
|
@@ -21,9 +21,9 @@ namespace Quanjiang.DigitalScholl.WebLicense |
|
|
|
{ |
|
|
|
public static string GenerateMachineId() |
|
|
|
{ |
|
|
|
string cpuid = LicenseManager.GetCPUSerialNumber(); |
|
|
|
string cpuid = ""; LicenseManager.GetCPUSerialNumber(); |
|
|
|
string hd = LicenseManager.GetHardDriverNumber(); |
|
|
|
string bios = LicenseManager.GetBoisNumber(); |
|
|
|
string bios = ""; LicenseManager.GetBoisNumber(); |
|
|
|
string uid = LicenseManager.GetMachineName(); |
|
|
|
return DESEncrypt.Encrypt(cpuid + hd + bios + uid, "bjquanjiang@2020!"); |
|
|
|
} |
|
|
|