I need to read some registry keys of a remote computer. The key will
be any key users provide. (For example : HKEY_CURRENT_US ER\SOFTWARE
\MyGame) I found that there was a handy method called
RegistryKey.Ope nRemoteBaseKey( ); I tried
But everytime I execute it, an UnauthorizedAcc essException occurred at
the OpenRemoteBaseK ey method. Both computer (the one that ran the C#
application, and the remote computer) are Windows XP Professional, and
"Remote Registry Service" enabled. Both computer are logged on as an
adminstrator with no password. And both belong to the same workgroup.
Could you please tell me what is wrong? I've searched the MSDN
documentation and the newsgroup but I couldn't find a solution. Must
be some security setting problem but I have no clue. Do I need some
login procedure first? But the sample on the MSDN had no such thing.
All I want to do is to read (only read, no writing) keys from a remote
computer.
Thanks.