Maybe I am just looking in all the wrong places, but I can find an example of reading a remote registry.

I have seen plenty of exampels about reading the local registry, but I need to specifically connect to a remote computer.

In the end, I am going to need to read the registry and make some WMI calls and I will need to do this from outside the domain and passing in credentials.

I have figured out that I can use "RegistryKey.OpenRemoteBaseKey" but that only works if I have rights. How can I pass credentials when I try to open the remote registry?

Thanks...