SKGL
SKGL copied to clipboard
Machine Code getting change
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
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
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.