SKGL icon indicating copy to clipboard operation
SKGL copied to clipboard

Machine Code getting change

Open Manthan2611 opened this issue 5 years ago • 2 comments

Hi,

Sometime i have seen that machine code is getting change on the machine. There was no hardware changes done on the machine. Sometime it get change after restart and sometime it get changes after using function more than twice. I have found no solution on it as referring the code found that it generate the machine code based on hardware CPU and board id's. but without changing any of it the machine code gets changed.

What i need to check so that it don't get changed?

Thanks & Regards, Manthan Patel

Manthan2611 avatar Aug 01 '19 08:08 Manthan2611

Hey!

Thanks for letting me know.

Could you please try using Helpers.GetMachineCodePI() method in https://www.nuget.org/packages/Cryptolens.Licensing/. It's in SKM.V3.Methods namespace.

That method uses the result from cmd.exe /C wmic csproduct get uuid instead, which I think should work better.

/Artem

artemlos avatar Aug 21 '19 08:08 artemlos

The "Machine Code" used here enumerates the network interfaces prior to generating the machine code and does that without any filtering, same goes for the disk drives, it will also enumerate USB devices. If any of those things change, then your machine code will change. While it may do part of its work, it is rather weak because if you install VMWare for example, a new network interface will be enumerated and the machine code will change rendering the license invalid.

lordofscripts avatar Oct 15 '20 22:10 lordofscripts