D
Daniel Passwater via DotNetMonster.com
I'm trying to update the registry using C#. This seems like it should work:
int SecurityInt = 1;
// Open registry key.
RegistryKey rk = Registry.LocalMachine;
RegistryKey subKey = rk.OpenSubKey("SOFTWARE\\Microsoft\\Cryptography\\
IEDirtyFlags\\",true);
// Update key value.
rk.SetValue("dirtiest", Convert.ToString(SecurityInt));
Does anyone see what I'm doing wrong.
Thanks.
int SecurityInt = 1;
// Open registry key.
RegistryKey rk = Registry.LocalMachine;
RegistryKey subKey = rk.OpenSubKey("SOFTWARE\\Microsoft\\Cryptography\\
IEDirtyFlags\\",true);
// Update key value.
rk.SetValue("dirtiest", Convert.ToString(SecurityInt));
Does anyone see what I'm doing wrong.
Thanks.