Hi all here is my code to access a subkey and add a new value into the registry RegistryKey ServerMonitor = Registry .LocalMachine.OpenSubKey( "SYSTEM\\CurrentControlSet\\Services\\MyService" ); RegistryKey Param = ServerMonitor.CreateSubKey( "Parameters" ); Param.GetValue( "Application" ); Param.SetValue...
Posted to
C#
(Forum)
by
tompy_nation
on
04-25-2007, 12:00 AM
Filed under: registry, authorization, C#, exceptions