Emmanuel

Results 4 comments of Emmanuel

No @sweetevil, I still use my cpp workaround like that: ```js function getMachineIdSync() { if (process.platform === 'win32') { let guid = execSync('get-machine-guid.exe').toString() guid = guid.replace(/\r+|\n+|\s+/ig, '').toLowerCase() return createHash('sha256').update(guid).digest('hex') }...

I created my own, It is the compiled version of `get-machine-guid.c` included in my first post.

@sweetevil Yes, the only difference is the way to retrieve the MachineGuid registry key

@sweetevil I just tried again and it compile without errors using the [VS2015 Developer Command Prompt ](https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs) like this: ```batch cl get-machine-guid.c ``` Here is the compiled executable : [get-machine-guid.exe.zip](https://github.com/automation-stack/node-machine-id/files/1792419/get-machine-guid.exe.zip)