![]() Public static string DecodeProductKeyWin8AndUp(byte digitalProductId) / This method applies to DigitalProductId from Windows 8 or newer versions of Windows. Var key = DecodeProductKeyIntoString(digitalProductId) Private static string DecodeProductKey(byte digitalProductId) / Decoded Windows Product Key as a string / This method applies to DigitalProductId from Windows 7 or lower versions of Windows. / Decodes Windows Product Key from the DigitalProductId. Private const string digits = "BCDFGHJKMPQRTVWXY2346789" The ProductId value can be converted to a string with a single function, and manipulated slightly with DecodeProductKeyWin8AndUp() to produce strings with the letter 'N' in its correct place. I do not have a Windows 8 system to test what should be done to fix this.ģ. This gives the appearance that setting isWin8 to either 0 or 1 is not correct. ![]() The next line is expecting isWin8 to be greater than 1, but it cannot be. The check for isWin8 in DecodeProductKeyWin8AndUp() keeps only bit 0 after dividing by 6. If you allow "DigitalProductID" to be valid, this allows your code to work with other Microsoft products without throwing an exception over the lowercase 'd' versus uppercase 'D'.Ģ. Windows 10 upgraded from previous version are activated using hardware keys and can be clean installed and activated without entering any key during installation process.ġ. These codes are quite useless because you don't need to enter them. Windows 10 Pro VL-MAK - QJNXR-7D97Q-K7WH4-RYWQ8-6MT6Y. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |