csharp-uhwid icon indicating copy to clipboard operation
csharp-uhwid copied to clipboard

Windows ID contains user name

Open HappyPathAB opened this issue 5 years ago • 0 comments

The README states that the AdvancedUID contains the simpleUID plus a MD5 hash of the Windows build version. Howeer, looking in WindowsId.cs, the windowsInfo string is initialized with the Caption and Version properties (Windows code name and build number, respectively) from Win32_OperatingSystem, plus Environment.UserName.

Doesn't this mean that the AdvancedUID will yield different values when run by different users on the same machine?

So either the user name should be dropped from windowsInfo, or the documentation needs to be updated to reflect the fact that the user name is included in the data.

HappyPathAB avatar Oct 11 '20 14:10 HappyPathAB