hi,
I need a method for C# to retrieve one default key from an application in the following directory
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\xxx_program
Can anyone suggest any code which I can use
hi,
I need a method for C# to retrieve one default key from an application in the following directory
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\xxx_program
Can anyone suggest any code which I can use
just adding to this, this is kinda what I found ... not sure its correct.
public string getkey(string Key)
{
RegistryKey masterKey = Registry.LocalMachine.CreateSubKey(Key);
if (masterKey == null)
{
}
else
{
return masterKey.GetValue(default);
}
masterKey.Close();
}
nevermind found my mistake, its not default its ""
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.