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 ?