[1.0/1.1] Registry-related codes in C#
hi all,
can someone help me to explain the following codes. i got no idea what it wanna do.
int hKey = 0;
byte[] uidByte = new byte[] {};
hKey = Registry.OpenKey(Registry.RootKey.HKEY_LOCAL_MACHINE, "PDALOCK");
uidByte = Registry.QueryValueBinary(hKey, "UID");
Registry.CloseKey(ref hKey);
longwar
Re: [1.0/1.1] Registry-related codes in C#
It looks like it's supposed to open the PDALOCK key under HKLM and read the binary value named UID. Those methods are not members of the Microsoft.Win32.Registry class though.
Re: [1.0/1.1] Registry-related codes in C#