Possible Duplicate:
Remote Registry
I was doing a task to enter values in to registry.But it works only for local machine(mymachine) but if that is a remote system ,that time also writing in to my system. I dont know how to write in to remotesystem which have access also. The value string CurrentServer will give the server name ,it can be local system and remote system.
This was the code i was using previuosly, what modification i need to do here?, i saw we can use RegistryKey.OpenRemoteBaseKey to open registry value
string CurrentServer = Member.GetServerName();
RegistryKey rk = Registry.CurrentUser.OpenSubKey((LeafeRegistry.TempRoot ), true);
rk.SetValue("ShowSystemName", tvvserver);