Skip to main content

Generating a unique GUID to identify the hardware / computer

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Can a computer be identified by a program?

Resolution:

The WinApi GetCurrentHwProfile retrieves information about the current hardware profile for the local computers producing a GUID.

On every call, GetCurrentHwProfile computes the same GUID on the same hardware but a different GUID on a different hardware.

This GUID should be unambiguous between different computers.

Attachments:

GUID.zip

Old KB# 1294