|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
remote registry authenticationI have an app that uses the RegistryKey class to open and read keys on
remote systems in .Net 2.0. I want to give the user the ability to provide alternate credentials to make the connection to untrusted systems but there is no support for this in any of the remote registry access classes, that I can see. How do folks do this normally? Thanks -- Darren Mar-Elia Hello,
have you tried Impersonation? You can use the Win32 LogonUser function via P/Invoke and pass alternate credentials to the function. Then, pass the authentication token returned by that function to one of the WindowsIdentity constructors. This should help to troubleshoot those authentication problems. Best regards, Henning Krause Show quote "Darren Mar-Elia" <dmanonym***@microsoft.com> wrote in message news:169DB4C8-B63E-432F-9A3E-4E318EDBF887@microsoft.com... >I have an app that uses the RegistryKey class to open and read keys on >remote systems in .Net 2.0. I want to give the user the ability to provide >alternate credentials to make the connection to untrusted systems but there >is no support for this in any of the remote registry access classes, that I >can see. How do folks do this normally? > > Thanks > > -- > Darren Mar-Elia > > |
|||||||||||||||||||||||