Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access to the registry of another computer

Status
Not open for further replies.

destroyhead

Programmer
Feb 22, 2006
27
0
0
GB
Hi everybody,
Does anybody have an example to read a registry key of a distant server from an ASP.NET page?
I do not find any on the web... (?)
Thanks very much for any help.
Regards.
Olivier
 
Have a look in the Microsoft.Win32 namespace. I'm not sure if it will be as easy as you think though...


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Hi ca8msm,
Thanks very much for your answer.
I have already worked with Microsoft.Win32 on my computer. But I have not found anywhere (MSDN, forums...) an example to access to the registry of another computer.
I am sure it may be complicated but it was possible with the old VB (or in Java).
Does anybody have an example working with ASP.NET?
Thanks again.
Regards.
Olivier
 
The RegistryKey.OpenRemoteBaseKey method should do what you want...


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Hi ca9msm,
Thanks very much for your answer.
This was exactly what I needed.
I am now trying the example available in MSDN (with obviously security issues :p).
Thanks again.
Olivier
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top