Advertisement
TranTrung2006

Get Errorcode

Aug 10th, 2019
579
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 59.46 KB | None | 0 0
  1.         public string GetErrorCode(string StringErrorCode)
  2.  
  3.         {
  4.             string errorcode = "";
  5.             if (StringErrorCode.ToString().Contains("0xC004B001"))
  6.                 errorcode = "0xC004B001 - The activation server determined that the license is invalid.";
  7.             if (StringErrorCode.ToString().Contains("0xC004B002"))
  8.                 errorcode = "0xC004B002 - The activation server determined that the license is invalid.";
  9.             if (StringErrorCode.ToString().Contains("0xC004B003"))
  10.                 errorcode = "0xC004B003 - The activation server determined that the license is invalid.";
  11.             if (StringErrorCode.ToString().Contains("0xC004B004"))
  12.                 errorcode = "0xC004B004 - The activation server determined that the license is invalid.";
  13.             if (StringErrorCode.ToString().Contains("0xC004B005"))
  14.                 errorcode = "0xC004B005 - The activation server determined that the license is invalid.";
  15.             if (StringErrorCode.ToString().Contains("0xC004B006"))
  16.                 errorcode = "0xC004B006 - The activation server determined that the license is invalid.";
  17.             if (StringErrorCode.ToString().Contains("0xC004B007"))
  18.                 errorcode = "0xC004B007 - The activation server reported that the computer could not connect to the activation server.";
  19.             if (StringErrorCode.ToString().Contains("0xC004B008"))
  20.                 errorcode = "0xC004B008 - The activation server determined that the product could not be activated.";
  21.             if (StringErrorCode.ToString().Contains("0xC004B009"))
  22.                 errorcode = "0xC004B009 - The activation server determined that the license is invalid.";
  23.             if (StringErrorCode.ToString().Contains("0xC004B010"))
  24.                 errorcode = "0xC004B010 - The activation server determined that required business token entry cannot be found.";
  25.             if (StringErrorCode.ToString().Contains("0xC004B011"))
  26.                 errorcode = "0xC004B011 - The activation server determined that your computer clock time is not correct. You must correct your clock before you can activate.";
  27.             if (StringErrorCode.ToString().Contains("0xC004B100"))
  28.                 errorcode = "0xC004B100 - The activation server determined that the product could not be activated.";
  29.             if (StringErrorCode.ToString().Contains("0xC004C001"))
  30.                 errorcode = "0xC004C001 - The activation server determined the specified product key is invalid.";
  31.             if (StringErrorCode.ToString().Contains("0xC004C002"))
  32.                 errorcode = "0xC004C002 - The activation server determined there is a problem with the specified product key.";
  33.             if (StringErrorCode.ToString().Contains("0xC004C003"))
  34.                 errorcode = "0xC004C003 - The product key has been blocked.";
  35.             if (StringErrorCode.ToString().Contains("0xC004C004"))
  36.                 errorcode = "0xC004C004 - The activation server determined the specified product key is invalid. ";
  37.             if (StringErrorCode.ToString().Contains("0xC004C005"))
  38.                 errorcode = "0xC004C005 - The activation server determined the license is invalid.";
  39.             if (StringErrorCode.ToString().Contains("0xC004C006"))
  40.                 errorcode = "0xC004C006 - The activation server determined the license is invalid.";
  41.             if (StringErrorCode.ToString().Contains("0xC004C007"))
  42.                 errorcode = "0xC004C007 - The activation server determined the specified product key is invalid.";
  43.             if (StringErrorCode.ToString().Contains("0xC004C008"))
  44.                 errorcode = "0xC004C008 - The product can be activated by phone.";
  45.             if (StringErrorCode.ToString().Contains("0xC004C009"))
  46.                 errorcode = "0xC004C009 - The activation server determined the license is invalid.";
  47.             if (StringErrorCode.ToString().Contains("0xC004C00A"))
  48.                 errorcode = "0xC004C00A - The activation server determined the license is invalid.";
  49.             if (StringErrorCode.ToString().Contains("0xC004C00B"))
  50.                 errorcode = "0xC004C00B - The activation server determined the license is invalid.";
  51.             if (StringErrorCode.ToString().Contains("0xC004C00C"))
  52.                 errorcode = "0xC004C00C - The activation server StringErrorCodeperienced an error.";
  53.             if (StringErrorCode.ToString().Contains("0xC004C00D"))
  54.                 errorcode = "0xC004C00D - The activation server determined the product key is not valid.";
  55.             if (StringErrorCode.ToString().Contains("0xC004C00E"))
  56.                 errorcode = "0xC004C00E - The activation server determined the specified product key is invalid.";
  57.             if (StringErrorCode.ToString().Contains("0xC004C00F"))
  58.                 errorcode = "0xC004C00F - The activation server determined the specified product key is invalid.";
  59.             if (StringErrorCode.ToString().Contains("0xC004C010"))
  60.                 errorcode = "0xC004C010 - The activation server determined the specified product key is invalid.";
  61.             if (StringErrorCode.ToString().Contains("0xC004C011"))
  62.                 errorcode = "0xC004C011 - The activation server determined the license is invalid.";
  63.             if (StringErrorCode.ToString().Contains("0xC004C012"))
  64.                 errorcode = "0xC004C012 - The activation server StringErrorCodeperienced a network error.";
  65.             if (StringErrorCode.ToString().Contains("0xC004C013"))
  66.                 errorcode = "0xC004C013 - The activation server StringErrorCodeperienced an error.";
  67.             if (StringErrorCode.ToString().Contains("0xC004C014"))
  68.                 errorcode = "0xC004C014 - The activation server StringErrorCodeperienced an error.";
  69.             if (StringErrorCode.ToString().Contains("0xC004C020"))
  70.                 errorcode = "0xC004C020 - The product can be activated by phone.";
  71.             if (StringErrorCode.ToString().Contains("0xC004C021"))
  72.                 errorcode = "0xC004C021 - The activation server reported that the Multiple Activation Key StringErrorCodetension limit has been StringErrorCodehceeded.";
  73.             if (StringErrorCode.ToString().Contains("0xC004C022"))
  74.                 errorcode = "0xC004C022 - The activation server reported that the re-issuance limit was not found. ";
  75.             if (StringErrorCode.ToString().Contains("0xC004C023"))
  76.                 errorcode = "0xC004C023 - The activation server reported that the override request was not found. ";
  77.             if (StringErrorCode.ToString().Contains("0xC004C016"))
  78.                 errorcode = "0xC004C016 - The activation server reported that the specified product key cannot be used for online activation.";
  79.             if (StringErrorCode.ToString().Contains("0xC004C017"))
  80.                 errorcode = "0xC004C017 - The activation server determined the specified product key has been blocked for this geographic location.";
  81.             if (StringErrorCode.ToString().Contains("0xC004C015"))
  82.                 errorcode = "0xC004C015 - The activation server StringErrorCodeperienced an error.";
  83.             if (StringErrorCode.ToString().Contains("0xC004C050"))
  84.                 errorcode = "0xC004C050 - The activation server StringErrorCodeperienced a general error.";
  85.             if (StringErrorCode.ToString().Contains("0xC004C030"))
  86.                 errorcode = "0xC004C030 - The activation server reported that time based activation attempted before start date.";
  87.             if (StringErrorCode.ToString().Contains("0xC004C031"))
  88.                 errorcode = "0xC004C031 - The activation server reported that time based activation attempted after end date.";
  89.             if (StringErrorCode.ToString().Contains("0xC004C032"))
  90.                 errorcode = "0xC004C032 - The activation server reported that new time based activation not available.";
  91.             if (StringErrorCode.ToString().Contains("0xC004C033"))
  92.                 errorcode = "0xC004C033 - The activation server reported that the time based product key is not configured for activation.";
  93.             if (StringErrorCode.ToString().Contains("0xC004C04F"))
  94.                 errorcode = "0xC004C04F - The activation server reported that no business rules available to activate specified product key.";
  95.             if (StringErrorCode.ToString().Contains("0xC004C051"))
  96.                 errorcode = "0xC004C051 - The activation server determined the license is invalid.";
  97.             if (StringErrorCode.ToString().Contains("0xC004C052"))
  98.                 errorcode = "0xC004C052 - The activation server determined there is a problem with the specified product key.";
  99.             if (StringErrorCode.ToString().Contains("0xC004C060"))
  100.                 errorcode = "0xC004C060 - The product key has been blocked.";
  101.             if (StringErrorCode.ToString().Contains("0xC004C3FF"))
  102.                 errorcode = "0xC004C3FF - The activation server determined the VGA service response is not available in the StringErrorCodepected format.";
  103.             if (StringErrorCode.ToString().Contains("0xC004C700"))
  104.                 errorcode = "0xC004C700 - The activation server reported that business rule cound not find required input.";
  105.             if (StringErrorCode.ToString().Contains("0xC004C750"))
  106.                 errorcode = "0xC004C750 - The activation server reported that NULL value specified for business property name and Id.";
  107.             if (StringErrorCode.ToString().Contains("0xC004C751"))
  108.                 errorcode = "0xC004C751 - The activation server reported that property name specifies unknown property.";
  109.             if (StringErrorCode.ToString().Contains("0xC004C752"))
  110.                 errorcode = "0xC004C752 - The activation server reported that property Id specifies unknown property.";
  111.             if (StringErrorCode.ToString().Contains("0xC004C755"))
  112.                 errorcode = "0xC004C755 - The activation server reported that it failed to update product key binding.";
  113.             if (StringErrorCode.ToString().Contains("0xC004C756"))
  114.                 errorcode = "0xC004C756 - The activation server reported that it failed to insert product key binding.";
  115.             if (StringErrorCode.ToString().Contains("0xC004C757"))
  116.                 errorcode = "0xC004C757 - The activation server reported that it failed to delete product key binding.";
  117.             if (StringErrorCode.ToString().Contains("0xC004C758"))
  118.                 errorcode = "0xC004C758 - The activation server reported that it failed to process input XML for product key bindings.";
  119.             if (StringErrorCode.ToString().Contains("0xC004C75A"))
  120.                 errorcode = "0xC004C75A - The activation server reported that it failed to insert product key property.";
  121.             if (StringErrorCode.ToString().Contains("0xC004C75B"))
  122.                 errorcode = "0xC004C75B - The activation server reported that it failed to update product key property.";
  123.             if (StringErrorCode.ToString().Contains("0xC004C75C"))
  124.                 errorcode = "0xC004C75C - The activation server reported that it failed to delete product key property.";
  125.             if (StringErrorCode.ToString().Contains("0xC004C764"))
  126.                 errorcode = "0xC004C764 - The activation server reported that the product key type is unknown.";
  127.             if (StringErrorCode.ToString().Contains("0xC004C770"))
  128.                 errorcode = "0xC004C770 - The activation server reported that the product key type is being used by another user.";
  129.             if (StringErrorCode.ToString().Contains("0xC004C780"))
  130.                 errorcode = "0xC004C780 - The activation server reported that it failed to insert product key record.";
  131.             if (StringErrorCode.ToString().Contains("0xC004C781"))
  132.                 errorcode = "0xC004C781 - The activation server reported that it failed to update product key record.";
  133.             if (StringErrorCode.ToString().Contains("0xC004C291"))
  134.                 errorcode = "0xC004C291 - Genuine Validation determined the license state is invalid.";
  135.             if (StringErrorCode.ToString().Contains("0xC004C292"))
  136.                 errorcode = "0xC004C292 - Genuine Validation determined the license state is invalid.";
  137.             if (StringErrorCode.ToString().Contains("0xC004C2F6"))
  138.                 errorcode = "0xC004C2F6 - Genuine Validation determined the validation input template identifier is invalid.";
  139.             if (StringErrorCode.ToString().Contains("0xC004C2FA"))
  140.                 errorcode = "0xC004C2FA - Genuine Validation determined the validation input data blob is invalid.";
  141.             if (StringErrorCode.ToString().Contains("0xC004C327"))
  142.                 errorcode = "0xC004C327 - Genuine Validation determined the validation input data blob parameter is invalid.";
  143.             if (StringErrorCode.ToString().Contains("0xC004C328"))
  144.                 errorcode = "0xC004C328 - Genuine Validation determined the client token data is invalid.";
  145.             if (StringErrorCode.ToString().Contains("0xC004C329"))
  146.                 errorcode = "0xC004C329 - Genuine Validation determined the offline data blob is invalid.";
  147.             if (StringErrorCode.ToString().Contains("0xC004C32A"))
  148.                 errorcode = "0xC004C32A - Genuine Validation determined the offline data blob parameter is invalid.";
  149.             if (StringErrorCode.ToString().Contains("0xC004C32B"))
  150.                 errorcode = "0xC004C32B - Genuine Validation determined the validation template identifier is invalid for this version of the Windows operating system.";
  151.             if (StringErrorCode.ToString().Contains("0xC004C32C"))
  152.                 errorcode = "0xC004C32C - Genuine Validation determined the offline genuine blob is revoked.";
  153.             if (StringErrorCode.ToString().Contains("0xC004C32D"))
  154.                 errorcode = "0xC004C32D - Genuine Validation determined the offline genuine blob is not found.";
  155.             if (StringErrorCode.ToString().Contains("0xC004C401"))
  156.                 errorcode = "0xC004C401 - Genuine Validation determined the product key is invalid for this version of the Windows operating system.";
  157.             if (StringErrorCode.ToString().Contains("0xC004C4A1"))
  158.                 errorcode = "0xC004C4A1 - Genuine Validation determined the file hash is invalid.";
  159.             if (StringErrorCode.ToString().Contains("0xC004C4A2"))
  160.                 errorcode = "0xC004C4A2 - Genuine Validation determined the product key has been blocked.";
  161.             if (StringErrorCode.ToString().Contains("0xC004C4A4"))
  162.                 errorcode = "0xC004C4A4 - Genuine Validation determined the product key type is invalid.";
  163.             if (StringErrorCode.ToString().Contains("0xC004C4A5"))
  164.                 errorcode = "0xC004C4A5 - Genuine Validation determined the product key is invalid.";
  165.             if (StringErrorCode.ToString().Contains("0xC004C4A7"))
  166.                 errorcode = "0xC004C4A7 - Genuine Validation determined the OEM or Volume binding data is invalid.";
  167.             if (StringErrorCode.ToString().Contains("0xC004C4A8"))
  168.                 errorcode = "0xC004C4A8 - Genuine Validation determined the license state is invalid.";
  169.             if (StringErrorCode.ToString().Contains("0xC004C4A9"))
  170.                 errorcode = "0xC004C4A9 - Genuine Validation determined the specified product key has been blocked for this geographic location.";
  171.             if (StringErrorCode.ToString().Contains("0xC004C4AB"))
  172.                 errorcode = "0xC004C4AB - Genuine Validation detected Windows licensing StringErrorCodeploits.";
  173.             if (StringErrorCode.ToString().Contains("0xC004C4AC"))
  174.                 errorcode = "0xC004C4AC - Genuine Validation determined the token activation data is invalid.";
  175.             if (StringErrorCode.ToString().Contains("0xC004C4AD"))
  176.                 errorcode = "0xC004C4AD - Genuine Validation detected tampered Windows binaries.";
  177.             if (StringErrorCode.ToString().Contains("0xC004C4AE"))
  178.                 errorcode = "0xC004C4AE - Genuine Validation detected tampered Windows binaries.";
  179.             if (StringErrorCode.ToString().Contains("0xC004C4AF"))
  180.                 errorcode = "0xC004C4AF - Genuine Validation determined the active directory activation data is invalid.";
  181.             if (StringErrorCode.ToString().Contains("0xC004C4B0"))
  182.                 errorcode = "0xC004C4B0 - Genuine Validation detected Windows licensing StringErrorCodeploits.";
  183.             if (StringErrorCode.ToString().Contains("0xC004C4B1"))
  184.                 errorcode = "0xC004C4B1 - Genuine Validation detected Windows licensing StringErrorCodeploits.";
  185.             if (StringErrorCode.ToString().Contains("0xC004C600"))
  186.                 errorcode = "0xC004C600 - Genuine Validation determined your copy of Windows is not genuine.";
  187.             if (StringErrorCode.ToString().Contains("0xC004C531"))
  188.                 errorcode = "0xC004C531 - Genuine Validation detected Windows licensing StringErrorCodeploits.";
  189.             if (StringErrorCode.ToString().Contains("0xC004C532"))
  190.                 errorcode = "0xC004C532 - Genuine Validation determined the license state is in notification due to StringErrorCodepired grace.";
  191.             if (StringErrorCode.ToString().Contains("0xC004C533"))
  192.                 errorcode = "0xC004C533 - Genuine Validation determined the license state is in notification.";
  193.             if (StringErrorCode.ToString().Contains("0xC004E001"))
  194.                 errorcode = "0xC004E001 - The Software Licensing Service determined that the specified contStringErrorCodet is invalid.";
  195.             if (StringErrorCode.ToString().Contains("0xC004E002"))
  196.                 errorcode = "0xC004E002 - The Software Licensing Service reported that the license store contains inconsistent data.";
  197.             if (StringErrorCode.ToString().Contains("0xC004E003"))
  198.                 errorcode = "0xC004E003 - The Software Licensing Service reported that license evaluation failed.";
  199.             if (StringErrorCode.ToString().Contains("0xC004E004"))
  200.                 errorcode = "0xC004E004 - The Software Licensing Service reported that the license has not been evaluated.";
  201.             if (StringErrorCode.ToString().Contains("0xC004E005"))
  202.                 errorcode = "0xC004E005 - The Software Licensing Service reported that the license is not activated.";
  203.             if (StringErrorCode.ToString().Contains("0xC004E006"))
  204.                 errorcode = "0xC004E006 - The Software Licensing Service reported that the license contains invalid data.";
  205.             if (StringErrorCode.ToString().Contains("0xC004E007"))
  206.                 errorcode = "0xC004E007 - The Software Licensing Service reported that the license store does not contain the requested license.";
  207.             if (StringErrorCode.ToString().Contains("0xC004E008"))
  208.                 errorcode = "0xC004E008 - The Software Licensing Service reported that the license property is invalid.";
  209.             if (StringErrorCode.ToString().Contains("0xC004E009"))
  210.                 errorcode = "0xC004E009 - The Software Licensing Service reported that the license store is not initialized.";
  211.             if (StringErrorCode.ToString().Contains("0xC004E00A"))
  212.                 errorcode = "0xC004E00A - The Software Licensing Service reported that the license store is already initialized.";
  213.             if (StringErrorCode.ToString().Contains("0xC004E00B"))
  214.                 errorcode = "0xC004E00B - The Software Licensing Service reported that the license property is invalid.";
  215.             if (StringErrorCode.ToString().Contains("0xC004E00C"))
  216.                 errorcode = "0xC004E00C - The Software Licensing Service reported that the license could not be opened or created.";
  217.             if (StringErrorCode.ToString().Contains("0xC004E00D"))
  218.                 errorcode = "0xC004E00D - The Software Licensing Service reported that the license could not be written.";
  219.             if (StringErrorCode.ToString().Contains("0xC004E00E"))
  220.                 errorcode = "0xC004E00E - The Software Licensing Service reported that the license store could not read the license file.";
  221.             if (StringErrorCode.ToString().Contains("0xC004E00F"))
  222.                 errorcode = "0xC004E00F - The Software Licensing Service reported that the license property is corrupted.";
  223.             if (StringErrorCode.ToString().Contains("0xC004E010"))
  224.                 errorcode = "0xC004E010 - The Software Licensing Service reported that the license property is missing.";
  225.             if (StringErrorCode.ToString().Contains("0xC004E011"))
  226.                 errorcode = "0xC004E011 - The Software Licensing Service reported that the license store contains an invalid license file.";
  227.             if (StringErrorCode.ToString().Contains("0xC004E012"))
  228.                 errorcode = "0xC004E012 - The Software Licensing Service reported that the license store failed to start synchronization properly.";
  229.             if (StringErrorCode.ToString().Contains("0xC004E013"))
  230.                 errorcode = "0xC004E013 - The Software Licensing Service reported that the license store failed to synchronize properly.";
  231.             if (StringErrorCode.ToString().Contains("0xC004E014"))
  232.                 errorcode = "0xC004E014 - The Software Licensing Service reported that the license property is invalid.";
  233.             if (StringErrorCode.ToString().Contains("0xC004E015"))
  234.                 errorcode = "0xC004E015 - The Software Licensing Service reported that license consumption failed.";
  235.             if (StringErrorCode.ToString().Contains("0xC004E016"))
  236.                 errorcode = "0xC004E016 - The Software Licensing Service reported that the product key is invalid.";
  237.             if (StringErrorCode.ToString().Contains("0xC004E017"))
  238.                 errorcode = "0xC004E017 - The Software Licensing Service reported that the product key is invalid.";
  239.             if (StringErrorCode.ToString().Contains("0xC004E018"))
  240.                 errorcode = "0xC004E018 - The Software Licensing Service reported that the product key is invalid.";
  241.             if (StringErrorCode.ToString().Contains("0xC004E019"))
  242.                 errorcode = "0xC004E019 - The Software Licensing Service determined that validation of the specified product key failed.";
  243.             if (StringErrorCode.ToString().Contains("0xC004E01A"))
  244.                 errorcode = "0xC004E01A - The Software Licensing Service reported that invalid add-on information was found. ";
  245.             if (StringErrorCode.ToString().Contains("0xC004E01B"))
  246.                 errorcode = "0xC004E01B - The Software Licensing Service reported that not all hardware information could be collected. ";
  247.             if (StringErrorCode.ToString().Contains("0xC004E01C"))
  248.                 errorcode = "0xC004E01C - This evaluation product key is no longer valid.";
  249.             if (StringErrorCode.ToString().Contains("0xC004E01D"))
  250.                 errorcode = "0xC004E01D - The new product key cannot be used on this installation of Windows. Type a different product key. (CD-AB)";
  251.             if (StringErrorCode.ToString().Contains("0xC004E01E"))
  252.                 errorcode = "0xC004E01E - The new product key cannot be used on this installation of Windows. Type a different product key. (AB-AB)";
  253.             if (StringErrorCode.ToString().Contains("0xC004E020"))
  254.                 errorcode = "0xC004E020 - The Software Licensing Service reported that there is a mismatched between a policy value and information stored in the OtherInfo section.";
  255.             if (StringErrorCode.ToString().Contains("0xC004E021"))
  256.                 errorcode = "0xC004E021 - The Software Licensing Service reported that the Genuine information contained in the license is not consistent.";
  257.             if (StringErrorCode.ToString().Contains("0xC004E022"))
  258.                 errorcode = "0xC004E022 - The Software Licensing Service reported that the secure store id value in license does not match with the current value.";
  259.             if (StringErrorCode.ToString().Contains("0xC004E023"))
  260.                 errorcode = "0xC004E023 - The Software Licensing Service reported that the notification rules appear to be invalid.";
  261.             if (StringErrorCode.ToString().Contains("0xC004E024"))
  262.                 errorcode = "0xC004E024 - The Software Licensing Service reported that the reported machine data appears to be invalid.";
  263.             if (StringErrorCode.ToString().Contains("0xC004E025"))
  264.                 errorcode = "0xC004E025 - The Software Licensing Service reported that the data hash does not correspond to the data. ";
  265.             if (StringErrorCode.ToString().Contains("0x8004E101"))
  266.                 errorcode = "0x8004E101 - The Software Licensing Service reported that the Token Store file version is invalid. ";
  267.             if (StringErrorCode.ToString().Contains("0x8004E102"))
  268.                 errorcode = "0x8004E102 - The Software Licensing Service reported that the Token Store contains an invalid descriptor table. ";
  269.             if (StringErrorCode.ToString().Contains("0x8004E103"))
  270.                 errorcode = "0x8004E103 - The Software Licensing Service reported that the Token Store contains a token with an invalid header/footer. ";
  271.             if (StringErrorCode.ToString().Contains("0x8004E104"))
  272.                 errorcode = "0x8004E104 - The Software Licensing Service reported that a Token Store token has an invalid name. ";
  273.             if (StringErrorCode.ToString().Contains("0x8004E105"))
  274.                 errorcode = "0x8004E105 - The Software Licensing Service reported that a Token Store token has an invalid StringErrorCodetension. ";
  275.             if (StringErrorCode.ToString().Contains("0x8004E106"))
  276.                 errorcode = "0x8004E106 - The Software Licensing Service reported that the Token Store contains a duplicate token. ";
  277.             if (StringErrorCode.ToString().Contains("0x8004E107"))
  278.                 errorcode = "0x8004E107 - The Software Licensing Service reported that a token in the Token Store has a size mismatch. ";
  279.             if (StringErrorCode.ToString().Contains("0x8004E108"))
  280.                 errorcode = "0x8004E108 - The Software Licensing Service reported that a token in the Token Store contains an invalid hash. ";
  281.             if (StringErrorCode.ToString().Contains("0x8004E109"))
  282.                 errorcode = "0x8004E109 - The Software Licensing Service reported that the Token Store was unable to read a token. ";
  283.             if (StringErrorCode.ToString().Contains("0x8004E10A"))
  284.                 errorcode = "0x8004E10A - The Software Licensing Service reported that the Token Store was unable to write a token. ";
  285.             if (StringErrorCode.ToString().Contains("0x8004E10B"))
  286.                 errorcode = "0x8004E10B - The Software Licensing Service reported that the Token Store attempted an invalid file operation. ";
  287.             if (StringErrorCode.ToString().Contains("0x8004E10C"))
  288.                 errorcode = "0x8004E10C - The Software Licensing Service reported that there is no active transaction. ";
  289.             if (StringErrorCode.ToString().Contains("0x8004E10D"))
  290.                 errorcode = "0x8004E10D - The Software Licensing Service reported that the Token Store file header is invalid. ";
  291.             if (StringErrorCode.ToString().Contains("0x8004E10E"))
  292.                 errorcode = "0x8004E10E - The Software Licensing Service reported that a Token Store token descriptor is invalid. ";
  293.             if (StringErrorCode.ToString().Contains("0xC004F001"))
  294.                 errorcode = "0xC004F001 - The Software Licensing Service reported an internal error.";
  295.             if (StringErrorCode.ToString().Contains("0xC004F002"))
  296.                 errorcode = "0xC004F002 - The Software Licensing Service reported that rights consumption failed.";
  297.             if (StringErrorCode.ToString().Contains("0xC004F003"))
  298.                 errorcode = "0xC004F003 - The Software Licensing Service reported that the required license could not be found.";
  299.             if (StringErrorCode.ToString().Contains("0xC004F004"))
  300.                 errorcode = "0xC004F004 - The Software Licensing Service reported that the product key does not match the range defined in the license.";
  301.             if (StringErrorCode.ToString().Contains("0xC004F005"))
  302.                 errorcode = "0xC004F005 - The Software Licensing Service reported that the product key does not match the product key for the license.";
  303.             if (StringErrorCode.ToString().Contains("0xC004F006"))
  304.                 errorcode = "0xC004F006 - The Software Licensing Service reported that the signature file for the license is not available.";
  305.             if (StringErrorCode.ToString().Contains("0xC004F007"))
  306.                 errorcode = "0xC004F007 - The Software Licensing Service reported that the license could not be found.";
  307.             if (StringErrorCode.ToString().Contains("0xC004F008"))
  308.                 errorcode = "0xC004F008 - The Software Licensing Service reported that the license could not be found.";
  309.             if (StringErrorCode.ToString().Contains("0xC004F009"))
  310.                 errorcode = "0xC004F009 - The Software Licensing Service reported that the grace period StringErrorCodepired.";
  311.             if (StringErrorCode.ToString().Contains("0xC004F00A"))
  312.                 errorcode = "0xC004F00A - The Software Licensing Service reported that the application ID does not match the application ID for the license.";
  313.             if (StringErrorCode.ToString().Contains("0xC004F00B"))
  314.                 errorcode = "0xC004F00B - The Software Licensing Service reported that the product identification data is not available.";
  315.             if (StringErrorCode.ToString().Contains("0x4004F00C"))
  316.                 errorcode = "0x4004F00C - The Software Licensing Service reported that the application is running within the valid grace period.";
  317.             if (StringErrorCode.ToString().Contains("0x4004F00D"))
  318.                 errorcode = "0x4004F00D - The Software Licensing Service reported that the application is running within the valid out of tolerance grace period.";
  319.             if (StringErrorCode.ToString().Contains("0xC004F00E"))
  320.                 errorcode = "0xC004F00E - The Software Licensing Service determined that the license could not be used by the current version of the security processor component.";
  321.             if (StringErrorCode.ToString().Contains("0xC004F00F"))
  322.                 errorcode = "0xC004F00F - The Software Licensing Service reported that the hardware ID binding is beyond the level of tolerance.";
  323.             if (StringErrorCode.ToString().Contains("0xC004F010"))
  324.                 errorcode = "0xC004F010 - The Software Licensing Service reported that the product key is invalid.";
  325.             if (StringErrorCode.ToString().Contains("0xC004F011"))
  326.                 errorcode = "0xC004F011 - The Software Licensing Service reported that the license file is not installed.";
  327.             if (StringErrorCode.ToString().Contains("0xC004F012"))
  328.                 errorcode = "0xC004F012 - The Software Licensing Service reported that the call has failed because the value for the input key was not found.";
  329.             if (StringErrorCode.ToString().Contains("0xC004F013"))
  330.                 errorcode = "0xC004F013 - The Software Licensing Service determined that there is no permission to run  - The Software.";
  331.             if (StringErrorCode.ToString().Contains("0xC004F014"))
  332.                 errorcode = "0xC004F014 - The Software Licensing Service reported that the product key is not available.";
  333.             if (StringErrorCode.ToString().Contains("0xC004F015"))
  334.                 errorcode = "0xC004F015 - The Software Licensing Service reported that the license is not installed.";
  335.             if (StringErrorCode.ToString().Contains("0xC004F016"))
  336.                 errorcode = "0xC004F016 - The Software Licensing Service determined that the request is not supported.";
  337.             if (StringErrorCode.ToString().Contains("0xC004F017"))
  338.                 errorcode = "0xC004F017 - The Software Licensing Service reported that the license is not installed.";
  339.             if (StringErrorCode.ToString().Contains("0xC004F018"))
  340.                 errorcode = "0xC004F018 - The Software Licensing Service reported that the license does not contain valid location data for the activation server.";
  341.             if (StringErrorCode.ToString().Contains("0xC004F019"))
  342.                 errorcode = "0xC004F019 - The Software Licensing Service determined that the requested event ID is invalid.";
  343.             if (StringErrorCode.ToString().Contains("0xC004F01A"))
  344.                 errorcode = "0xC004F01A - The Software Licensing Service determined that the requested event is not registered with the service.";
  345.             if (StringErrorCode.ToString().Contains("0xC004F01B"))
  346.                 errorcode = "0xC004F01B - The Software Licensing Service reported that the event ID is already registered.";
  347.             if (StringErrorCode.ToString().Contains("0xC004F01C"))
  348.                 errorcode = "0xC004F01C - The Software Licensing Service reported that the license is not installed.";
  349.             if (StringErrorCode.ToString().Contains("0xC004F01D"))
  350.                 errorcode = "0xC004F01D - The Software Licensing Service reported that the verification of the license failed.";
  351.             if (StringErrorCode.ToString().Contains("0xC004F01E"))
  352.                 errorcode = "0xC004F01E - The Software Licensing Service determined that the input data type does not match the data type in the license.";
  353.             if (StringErrorCode.ToString().Contains("0xC004F01F"))
  354.                 errorcode = "0xC004F01F - The Software Licensing Service determined that the license is invalid.";
  355.             if (StringErrorCode.ToString().Contains("0xC004F020"))
  356.                 errorcode = "0xC004F020 - The Software Licensing Service determined that the license package is invalid.";
  357.             if (StringErrorCode.ToString().Contains("0xC004F021"))
  358.                 errorcode = "0xC004F021 - The Software Licensing Service reported that the validity period of the license has StringErrorCodepired.";
  359.             if (StringErrorCode.ToString().Contains("0xC004F022"))
  360.                 errorcode = "0xC004F022 - The Software Licensing Service reported that the license authorization failed.";
  361.             if (StringErrorCode.ToString().Contains("0xC004F023"))
  362.                 errorcode = "0xC004F023 - The Software Licensing Service reported that the license is invalid.";
  363.             if (StringErrorCode.ToString().Contains("0xC004F024"))
  364.                 errorcode = "0xC004F024 - The Software Licensing Service reported that the license is invalid.";
  365.             if (StringErrorCode.ToString().Contains("0xC004F025"))
  366.                 errorcode = "0xC004F025 - The Software Licensing Service reported that the action requires administrator privilege.";
  367.             if (StringErrorCode.ToString().Contains("0xC004F026"))
  368.                 errorcode = "0xC004F026 - The Software Licensing Service reported that the required data is not found.";
  369.             if (StringErrorCode.ToString().Contains("0xC004F027"))
  370.                 errorcode = "0xC004F027 - The Software Licensing Service reported that the license is tampered.";
  371.             if (StringErrorCode.ToString().Contains("0xC004F028"))
  372.                 errorcode = "0xC004F028 - The Software Licensing Service reported that the policy cache is invalid.";
  373.             if (StringErrorCode.ToString().Contains("0xC004F029"))
  374.                 errorcode = "0xC004F029 - The Software Licensing Service cannot be started in the current OS mode.";
  375.             if (StringErrorCode.ToString().Contains("0xC004F02A"))
  376.                 errorcode = "0xC004F02A - The Software Licensing Service reported that the license is invalid.";
  377.             if (StringErrorCode.ToString().Contains("0xC004F02C"))
  378.                 errorcode = "0xC004F02C - The Software Licensing Service reported that the format for the offline activation data is incorrect.";
  379.             if (StringErrorCode.ToString().Contains("0xC004F02D"))
  380.                 errorcode = "0xC004F02D - The Software Licensing Service determined that the version of the offline Confirmation ID (CID) is incorrect.";
  381.             if (StringErrorCode.ToString().Contains("0xC004F02E"))
  382.                 errorcode = "0xC004F02E - The Software Licensing Service determined that the version of the offline Confirmation ID (CID) is not supported.";
  383.             if (StringErrorCode.ToString().Contains("0xC004F02F"))
  384.                 errorcode = "0xC004F02F - The Software Licensing Service reported that the length of the offline Confirmation ID (CID) is incorrect.";
  385.             if (StringErrorCode.ToString().Contains("0xC004F030"))
  386.                 errorcode = "0xC004F030 - The Software Licensing Service determined that the Installation ID (IID) or the Confirmation ID (CID) could not been saved.";
  387.             if (StringErrorCode.ToString().Contains("0xC004F031"))
  388.                 errorcode = "0xC004F031 - The Installation ID (IID) and the Confirmation ID (CID) do not match. Please confirm the IID and reacquire a new CID if necessary.";
  389.             if (StringErrorCode.ToString().Contains("0xC004F032"))
  390.                 errorcode = "0xC004F032 - The Software Licensing Service determined that the binding data is invalid.";
  391.             if (StringErrorCode.ToString().Contains("0xC004F033"))
  392.                 errorcode = "0xC004F033 - The Software Licensing Service reported that the product key is not allowed to be installed. Please see the eventlog for details.";
  393.             if (StringErrorCode.ToString().Contains("0xC004F034"))
  394.                 errorcode = "0xC004F034 - The Software Licensing Service reported that the license could not be found or was invalid.";
  395.             if (StringErrorCode.ToString().Contains("0xC004F035"))
  396.                 errorcode = "0xC004F035 - The Software Licensing Service reported that the computer could not be activated with a Volume license product key. Volume-licensed systems require upgrading from a qualifying operating system. Please contact your system administrator or use a different type of key.";
  397.             if (StringErrorCode.ToString().Contains("0xC004F038"))
  398.                 errorcode = "0xC004F038 - The Software Licensing Service reported that the product could not be activated. The count reported by your Key Management Service (KMS) is insufficient. Please contact your system administrator.";
  399.             if (StringErrorCode.ToString().Contains("0xC004F039"))
  400.                 errorcode = "0xC004F039 - The Software Licensing Service reported that the product could not be activated.  The Key Management Service (KMS) is not enabled.";
  401.             if (StringErrorCode.ToString().Contains("0x4004F040"))
  402.                 errorcode = "0x4004F040 - The Software Licensing Service reported that the product was activated but the owner should verify the Product Use Rights.";
  403.             if (StringErrorCode.ToString().Contains("0xC004F041"))
  404.                 errorcode = "0xC004F041 - The Software Licensing Service determined that the Key Management Service (KMS) is not activated. KMS needs to be activated. Please contact system administrator.";
  405.             if (StringErrorCode.ToString().Contains("0xC004F042"))
  406.                 errorcode = "0xC004F042 - The Software Licensing Service determined that the specified Key Management Service (KMS) cannot be used.";
  407.             if (StringErrorCode.ToString().Contains("0xC004F047"))
  408.                 errorcode = "0xC004F047 - The Software Licensing Service reported that the proxy policy has not been updated.";
  409.             if (StringErrorCode.ToString().Contains("0xC004F04D"))
  410.                 errorcode = "0xC004F04D - The Software Licensing Service determined that the Installation ID (IID) or the Confirmation ID (CID) is invalid.";
  411.             if (StringErrorCode.ToString().Contains("0xC004F04F"))
  412.                 errorcode = "0xC004F04F - The Software Licensing Service reported that license management information was not found in the licenses.";
  413.             if (StringErrorCode.ToString().Contains("0xC004F050"))
  414.                 errorcode = "0xC004F050 - The Software Licensing Service reported that the product key is invalid.";
  415.             if (StringErrorCode.ToString().Contains("0xC004F051"))
  416.                 errorcode = "0xC004F051 - The Software Licensing Service reported that the product key is blocked.";
  417.             if (StringErrorCode.ToString().Contains("0xC004F052"))
  418.                 errorcode = "0xC004F052 - The Software Licensing Service reported that the licenses contain duplicated properties. ";
  419.             if (StringErrorCode.ToString().Contains("0xC004F053"))
  420.                 errorcode = "0xC004F053 - The Software Licensing Service determined that the license is invalid. The license contains an override policy that is not configured properly.";
  421.             if (StringErrorCode.ToString().Contains("0xC004F054"))
  422.                 errorcode = "0xC004F054 - The Software Licensing Service reported that license management information has duplicated data. ";
  423.             if (StringErrorCode.ToString().Contains("0xC004F055"))
  424.                 errorcode = "0xC004F055 - The Software Licensing Service reported that the base SKU is not available.";
  425.             if (StringErrorCode.ToString().Contains("0xC004F056"))
  426.                 errorcode = "0xC004F056 - The Software Licensing Service reported that the product could not be activated using the Key Management Service (KMS).";
  427.             if (StringErrorCode.ToString().Contains("0xC004F057"))
  428.                 errorcode = "0xC004F057 - The Software Licensing Service reported that the computer BIOS is missing a required license.";
  429.             if (StringErrorCode.ToString().Contains("0xC004F058"))
  430.                 errorcode = "0xC004F058 - The Software Licensing Service reported that the computer BIOS is missing a required license.";
  431.             if (StringErrorCode.ToString().Contains("0xC004F059"))
  432.                 errorcode = "0xC004F059 - The Software Licensing Service reported that a license in the computer BIOS is invalid.";
  433.             if (StringErrorCode.ToString().Contains("0xC004F060"))
  434.                 errorcode = "0xC004F060 - The Software Licensing Service determined that the version of the license package is invalid.";
  435.             if (StringErrorCode.ToString().Contains("0xC004F061"))
  436.                 errorcode = "0xC004F061 - The Software Licensing Service determined that this specified product key can only be used for upgrading Then err = not for clean installations.";
  437.             if (StringErrorCode.ToString().Contains("0xC004F062"))
  438.                 errorcode = "0xC004F062 - The Software Licensing Service reported that a required license could not be found.";
  439.             if (StringErrorCode.ToString().Contains("0xC004F063"))
  440.                 errorcode = "0xC004F063 - The Software Licensing Service reported that the computer is missing a required OEM license.";
  441.             if (StringErrorCode.ToString().Contains("0xC004F064"))
  442.                 errorcode = "0xC004F064 - The Software Licensing Service reported that the non-genuine grace period StringErrorCodepired.";
  443.             if (StringErrorCode.ToString().Contains("0x4004F065"))
  444.                 errorcode = "0x4004F065 - The Software Licensing Service reported that the application is running within the valid non-genuine grace period.";
  445.             if (StringErrorCode.ToString().Contains("0xC004F066"))
  446.                 errorcode = "0xC004F066 - The Software Licensing Service reported that the genuine information property can not be set before dependent property been set.";
  447.             if (StringErrorCode.ToString().Contains("0xC004F067"))
  448.                 errorcode = "0xC004F067 - The Software Licensing Service reported that the non-genuine grace period StringErrorCodepired (type 2).";
  449.             if (StringErrorCode.ToString().Contains("0x4004F068"))
  450.                 errorcode = "0x4004F068 - The Software Licensing Service reported that the application is running within the valid non-genuine grace period (type 2).";
  451.             if (StringErrorCode.ToString().Contains("0xC004F069"))
  452.                 errorcode = "0xC004F069 - The Software Licensing Service reported that the product SKU is not found.";
  453.             if (StringErrorCode.ToString().Contains("0xC004F06A"))
  454.                 errorcode = "0xC004F06A - The Software Licensing Service reported that the requested operation is not allowed.";
  455.             if (StringErrorCode.ToString().Contains("0xC004F06B"))
  456.                 errorcode = "0xC004F06B - The Software Licensing Service determined that it is running in a virtual machine. The Key Management Service (KMS) is not supported in this mode.";
  457.             if (StringErrorCode.ToString().Contains("0xC004F06C"))
  458.                 errorcode = "0xC004F06C - The Software Licensing Service reported that the product could not be activated. The Key Management Service (KMS) determined that the request timestamp is invalid.";
  459.             if (StringErrorCode.ToString().Contains("0xC004F071"))
  460.                 errorcode = "0xC004F071 - The Software Licensing Service reported that the plug-in manifest file is incorrect.";
  461.             if (StringErrorCode.ToString().Contains("0xC004F072"))
  462.                 errorcode = "0xC004F072 - The Software Licensing Service reported that the license policies for fast query could not be found.";
  463.             if (StringErrorCode.ToString().Contains("0xC004F073"))
  464.                 errorcode = "0xC004F073 - The Software Licensing Service reported that the license policies for fast query have not been loaded.";
  465.             if (StringErrorCode.ToString().Contains("0xC004F074"))
  466.                 errorcode = "0xC004F074 - The Software Licensing Service reported that the product could not be activated. No Key Management Service (KMS) could be contacted. Please see the Application Event Log for additional information.";
  467.             if (StringErrorCode.ToString().Contains("0xC004F075"))
  468.                 errorcode = "0xC004F075 - The Software Licensing Service reported that the operation cannot be completed because the service is stopping.";
  469.             if (StringErrorCode.ToString().Contains("0xC004F076"))
  470.                 errorcode = "0xC004F076 - The Software Licensing Service reported that the requested plug-in cannot be found.";
  471.             if (StringErrorCode.ToString().Contains("0xC004F077"))
  472.                 errorcode = "0xC004F077 - The Software Licensing Service determined incompatible version of authentication data.";
  473.             if (StringErrorCode.ToString().Contains("0xC004F078"))
  474.                 errorcode = "0xC004F078 - The Software Licensing Service reported that the key is mismatched.";
  475.             if (StringErrorCode.ToString().Contains("0xC004F079"))
  476.                 errorcode = "0xC004F079 - The Software Licensing Service reported that the authentication data is not set.";
  477.             if (StringErrorCode.ToString().Contains("0xC004F07A"))
  478.                 errorcode = "0xC004F07A - The Software Licensing Service reported that the verification could not be done.";
  479.             if (StringErrorCode.ToString().Contains("0xC004F07B"))
  480.                 errorcode = "0xC004F07B - The requested operation is unavailable while the Software Licensing Service is running.";
  481.             if (StringErrorCode.ToString().Contains("0xC004F07C"))
  482.                 errorcode = "0xC004F07C - The Software Licensing Service determined that the version of the computer BIOS is invalid.";
  483.             if (StringErrorCode.ToString().Contains("0xC004F07D"))
  484.                 errorcode = "0xC004F07D - The Software Licensing Service reported that the product key cannot be used for this type of activation.";
  485.             if (StringErrorCode.ToString().Contains("0xC004F07E"))
  486.                 errorcode = "0xC004F07E - The Installation ID (IID) and the Confirmation ID (CID) do not match the product key.";
  487.             if (StringErrorCode.ToString().Contains("0xC004F07F"))
  488.                 errorcode = "0xC004F07F - The Installation ID (IID) and the Confirmation ID (CID) are not bound to the current environment.";
  489.             if (StringErrorCode.ToString().Contains("0xC004F080"))
  490.                 errorcode = "0xC004F080 - The Software Licensing Service reported that the license is not bound to the current environment.";
  491.             if (StringErrorCode.ToString().Contains("0xC004F081"))
  492.                 errorcode = "0xC004F081 - The Software Licensing Service reported that the Active Directory Activation Object could not be found or was invalid.";
  493.             if (StringErrorCode.ToString().Contains("0xC004F082"))
  494.                 errorcode = "0xC004F082 - The Software Licensing Service reported that the name specified for the Active Directory Activation Object is too long.";
  495.             if (StringErrorCode.ToString().Contains("0xC004F200"))
  496.                 errorcode = "0xC004F200 - The Software Licensing Service reported that current state is not genuine.";
  497.             if (StringErrorCode.ToString().Contains("0xC004F210"))
  498.                 errorcode = "0xC004F210 - The Software Licensing Service reported that the license edition does match the computer edition.";
  499.             if (StringErrorCode.ToString().Contains("0xC004F301"))
  500.                 errorcode = "0xC004F301 - The Software Licensing Service reported that the product could not be activated. The token-based activation challenge has StringErrorCodepired.";
  501.             if (StringErrorCode.ToString().Contains("0xC004F302"))
  502.                 errorcode = "0xC004F302 - The Software Licensing Service reported that Silent Activation failed.  - The Software Licensing Service reported that there are no certificates found in the system that could activate the product without user interaction.";
  503.             if (StringErrorCode.ToString().Contains("0xC004F303"))
  504.                 errorcode = "0xC004F303 - The Software Licensing Service reported that the certificate chain could not be built or failed validation.";
  505.             if (StringErrorCode.ToString().Contains("0xC004F304"))
  506.                 errorcode = "0xC004F304 - The Software Licensing Service reported that required license could not be found.";
  507.             if (StringErrorCode.ToString().Contains("0xC004F305"))
  508.                 errorcode = "0xC004F305 - The Software Licensing Service reported that there are no certificates found in the system that could activate the product.";
  509.             if (StringErrorCode.ToString().Contains("0xC004F306"))
  510.                 errorcode = "0xC004F306 - The Software Licensing Service reported that this software edition does not support token-based activation.";
  511.             if (StringErrorCode.ToString().Contains("0xC004F307"))
  512.                 errorcode = "0xC004F307 - The Software Licensing Service reported that the product could not be activated. Activation data is invalid.";
  513.             if (StringErrorCode.ToString().Contains("0xC004F308"))
  514.                 errorcode = "0xC004F308 - The Software Licensing Service reported that the product could not be activated. Activation data is tampered.";
  515.             if (StringErrorCode.ToString().Contains("0xC004F309"))
  516.                 errorcode = "0xC004F309 - The Software Licensing Service reported that the product could not be activated. Activation challenge and response do not match.";
  517.             if (StringErrorCode.ToString().Contains("0xC004F30A"))
  518.                 errorcode = "0xC004F30A - The Software Licensing Service reported that the product could not be activated. The certificate does not match the conditions in the license.";
  519.             if (StringErrorCode.ToString().Contains("0xC004F30B"))
  520.                 errorcode = "0xC004F30B - The Software Licensing Service reported that the inserted smartcard could not be used to activate the product.";
  521.             if (StringErrorCode.ToString().Contains("0xC004F30C"))
  522.                 errorcode = "0xC004F30C - The Software Licensing Service reported that the token-based activation license content is invalid.";
  523.             if (StringErrorCode.ToString().Contains("0xC004F30D"))
  524.                 errorcode = "0xC004F30D - The Software Licensing Service reported that the product could not be activated. The thumbprint is invalid.";
  525.             if (StringErrorCode.ToString().Contains("0xC004F30E"))
  526.                 errorcode = "0xC004F30E - The Software Licensing Service reported that the product could not be activated. The thumbprint does not match any certificate.";
  527.             if (StringErrorCode.ToString().Contains("0xC004F30F"))
  528.                 errorcode = "0xC004F30F - The Software Licensing Service reported that the product could not be activated. The certificate does not match the criteria specified in the issuance license.";
  529.             if (StringErrorCode.ToString().Contains("0xC004F310"))
  530.                 errorcode = "0xC004F310 - The Software Licensing Service reported that the product could not be activated. The certificate does not match the trust point identifier (TPID) specified in the issuance license.";
  531.             if (StringErrorCode.ToString().Contains("0xC004F311"))
  532.                 errorcode = "0xC004F311 - The Software Licensing Service reported that the product could not be activated. A soft token cannot be used for activation.";
  533.             if (StringErrorCode.ToString().Contains("0xC004F312"))
  534.                 errorcode = "0xC004F312 - The Software Licensing Service reported that the product could not be activated. The certificate cannot be used because its private key is StringErrorCodeportable.";
  535.             if (StringErrorCode.ToString().Contains("0xC004F313"))
  536.                 errorcode = "0xC004F313 - The Software Licensing Service reported that the CNG encryption library could not be loaded.  The current certificate may not be available on this version of Windows.";
  537.             if (StringErrorCode.ToString().Contains("0xC004FC03"))
  538.                 errorcode = "0xC004FC03 - A networking problem has occurred while activating your copy of Windows.";
  539.             if (StringErrorCode.ToString().Contains("0x4004FC04"))
  540.                 errorcode = "0x4004FC04 - The Software Licensing Service reported that the application is running within the timebased validity period.";
  541.             if (StringErrorCode.ToString().Contains("0x4004FC05"))
  542.                 errorcode = "0x4004FC05 - The Software Licensing Service reported that the application has a perpetual grace period.";
  543.             if (StringErrorCode.ToString().Contains("0x4004FC06"))
  544.                 errorcode = "0x4004FC06 - The Software Licensing Service reported that the application is running within the valid StringErrorCodetended grace period.";
  545.             if (StringErrorCode.ToString().Contains("0xC004FC07"))
  546.                 errorcode = "0xC004FC07 - The Software Licensing Service reported that the validity period StringErrorCodepired.";
  547.             if (StringErrorCode.ToString().Contains("0xC004FE00"))
  548.                 errorcode = "0xC004FE00 - The Software Licensing Service reported that activation is required to recover from tampering of SL Service trusted store.";
  549.             if (StringErrorCode.ToString().Contains("0xC004D101"))
  550.                 errorcode = "0xC004D101 - The security processor reported an initialization error.";
  551.             if (StringErrorCode.ToString().Contains("0x8004D102"))
  552.                 errorcode = "0x8004D102 - The security processor reported that the machine time is inconsistent with the trusted time.";
  553.             if (StringErrorCode.ToString().Contains("0xC004D103"))
  554.                 errorcode = "0xC004D103 - The security processor reported that an error has occurred.";
  555.             if (StringErrorCode.ToString().Contains("0xC004D104"))
  556.                 errorcode = "0xC004D104 - The security processor reported that invalid data was used.";
  557.             if (StringErrorCode.ToString().Contains("0xC004D105"))
  558.                 errorcode = "0xC004D105 - The security processor reported that the value already StringErrorCodeists.";
  559.             if (StringErrorCode.ToString().Contains("0xC004D107"))
  560.                 errorcode = "0xC004D107 - The security processor reported that an insufficient buffer was used.";
  561.             if (StringErrorCode.ToString().Contains("0xC004D108"))
  562.                 errorcode = "0xC004D108 - The security processor reported that invalid data was used.";
  563.             if (StringErrorCode.ToString().Contains("0xC004D109"))
  564.                 errorcode = "0xC004D109 - The security processor reported that an invalid call was made.";
  565.             if (StringErrorCode.ToString().Contains("0xC004D10A"))
  566.                 errorcode = "0xC004D10A - The security processor reported a version mismatch error.";
  567.             if (StringErrorCode.ToString().Contains("0x8004D10B"))
  568.                 errorcode = "0x8004D10B - The security processor cannot operate while a debugger is attached.";
  569.             if (StringErrorCode.ToString().Contains("0xC004D301"))
  570.                 errorcode = "0xC004D301 - The security processor reported that the trusted data store was tampered.";
  571.             if (StringErrorCode.ToString().Contains("0xC004D302"))
  572.                 errorcode = "0xC004D302 - The security processor reported that the trusted data store was rearmed.";
  573.             if (StringErrorCode.ToString().Contains("0xC004D303"))
  574.                 errorcode = "0xC004D303 - The security processor reported that the trusted store has been recreated.";
  575.             if (StringErrorCode.ToString().Contains("0xC004D304"))
  576.                 errorcode = "0xC004D304 - The security processor reported that entry key was not found in the trusted data store.";
  577.             if (StringErrorCode.ToString().Contains("0xC004D305"))
  578.                 errorcode = "0xC004D305 - The security processor reported that the entry key already StringErrorCodeists in the trusted data store.";
  579.             if (StringErrorCode.ToString().Contains("0xC004D306"))
  580.                 errorcode = "0xC004D306 - The security processor reported that the entry key is too big to fit in the trusted data store.";
  581.             if (StringErrorCode.ToString().Contains("0xC004D307"))
  582.                 errorcode = "0xC004D307 - The security processor reported that the maximum allowed number of re-arms has been exceeded.  You must re-install the OS before trying to re-arm again.";
  583.             if (StringErrorCode.ToString().Contains("0xC004D308"))
  584.                 errorcode = "0xC004D308 - The security processor has reported that entry data size is too big to fit in the trusted data store.";
  585.             if (StringErrorCode.ToString().Contains("0xC004D309"))
  586.                 errorcode = "0xC004D309 - The security processor has reported that the machine has gone out of hardware tolerance.";
  587.             if (StringErrorCode.ToString().Contains("0xC004D30A"))
  588.                 errorcode = "0xC004D30A - The security processor has reported that the secure timer already StringErrorCodeists.";
  589.             if (StringErrorCode.ToString().Contains("0xC004D30B"))
  590.                 errorcode = "0xC004D30B - The security processor has reported that the secure timer was not found.";
  591.             if (StringErrorCode.ToString().Contains("0xC004D30C"))
  592.                 errorcode = "0xC004D30C - The security processor has reported that the secure timer has StringErrorCodepired.";
  593.             if (StringErrorCode.ToString().Contains("0xC004D30D"))
  594.                 errorcode = "0xC004D30D - The security processor has reported that the secure timer name is too long.";
  595.             if (StringErrorCode.ToString().Contains("0xC004D30E"))
  596.                 errorcode = "0xC004D30E - The security processor reported that the trusted data store is full.";
  597.             if (StringErrorCode.ToString().Contains("0xC004D401"))
  598.                 errorcode = "0xC004D401 - The security processor reported a system file mismatch error.";
  599.             if (StringErrorCode.ToString().Contains("0xC004D402"))
  600.                 errorcode = "0xC004D402 - The security processor reported a system file mismatch error.";
  601.             if (StringErrorCode.ToString().Contains("0xC004D501"))
  602.                 errorcode = "0xC004D501 - The security processor reported an error with the kernel data.";
  603.             return errorcode;
  604.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement