C# Remote Registry - TechRepublic
General discussion
July 19, 2004 at 07:30 AM
keenweng2001

C# Remote Registry

by keenweng2001 . Updated 21 years, 11 months ago

i would like to know how can i access to a remote computer registry using c#, i found some sample code under MSDN library but when i execute the program, i receive an error below:

(An unhandled exception of type
“System.UnauthorizedAccessException” occured in system.management.dll,Additional information : Access is denied)

the sample code is here: (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/ html/ frlrfmicrosoftwin32registryhiveclasstopic.asp)

i already enable the remote registry services in the remote computer and my computer, is there any configuration and permission i need to set ?

This discussion is locked

All Comments