Im trying to get the hwid of a user using csharp for a program kind of like stuff like PredatorSense which shows ur cpu speed and other stuff, ive tried using the Registry.GetValue method from Microsoft.Win32 yet idk how to use it, Heres my code. string hwid = Registry.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\IDConfigDB\Hardware Profiles\0001", "REG_SZ", null).ToString();
Asked
Active
Viewed 719 times
-2

AverageROBLOXian
- 1
- 1
- 4
1 Answers
0
i figured it out, heres my updated code. string hwid = Registry.GetValue(@"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\IDConfigDB\Hardware Profiles\0001", "HwProfileGuid", null).ToString();

AverageROBLOXian
- 1
- 1
- 4