Esempio n. 1
0
 public static void CheckLicense()
 {
     if (IsLicenseFound)
     {
         return;
     }
     else
     {
         if (!File.Exists(fileName))
         {
             throw new Exception("Euresys License Not Found");
         }
         if (KeyDecoder.GetWindowsProductKey() != Decrypt())
         {
             throw new Exception("Euresys License Not Found");
         }
         IsLicenseFound = true;
     }
 }
Esempio n. 2
0
 public static void CreateLicense()
 {
     Encrypt(KeyDecoder.GetWindowsProductKey());
 }