.NET Framework Bookmark and Share   
 index > .NET Remoting and Runtime Serialization > Get system information of remote machine
 

Get system information of remote machine

Hi. I know IP address of remote machine. How i can get inforamtion about his processor, memory and os, using any means (C#, C++ and so on)? Thanks a lot.
ruminant

Hi mrk, for the simplest way of doing this, just run the psinfo.exe tool from www.sysinternals.com.Make sure you have an account on the remote computer, and then run"psinfo.exe \\remotecomputername".

Cheers,

JJustice [MSFT]

John Justice - MSFT

using System.Collections.Specialized;


NameValueCollection nv = Request.ServerVariables;
Response.Write("IP:- " + Request.UserHostAddress + "<br>");
Response.Write("Language:- " + nv.Get("HTTP_ACCEPT_LANGUAGE") + "<br>");
Response.Write("Browser:- " + Request.Browser.Type + "<br>");//IE6,Netscape5
Response.Write("OS:- " + Request.Browser.Platform + "<br>");//Win2000

Ved Prakash

Hi mrk, for the simplest way of doing this, just run the psinfo.exe tool from www.sysinternals.com.Make sure you have an account on the remote computer, and then run"psinfo.exe \\remotecomputername".

Cheers,

JJustice [MSFT]

John Justice - MSFT

using System.Collections.Specialized;


NameValueCollection nv = Request.ServerVariables;
Response.Write("IP:- " + Request.UserHostAddress + "<br>");
Response.Write("Language:- " + nv.Get("HTTP_ACCEPT_LANGUAGE") + "<br>");
Response.Write("Browser:- " + Request.Browser.Type + "<br>");//IE6,Netscape5
Response.Write("OS:- " + Request.Browser.Platform + "<br>");//Win2000

Ved Prakash

You can use google to search for other answers

Custom Search

More Threads

• How to get a free port ?
• When debugging TransparentProxy times out and the VS2008 hangs
• BinaryWriter - Dynamic cast
• "use" a wsdl (SOAP)
• WCF doesn't use nullable types in client generated from non-Microsoft web service?
• Load-blancer (f5/big-ip), remoting and sockets
• Windows service remoting
• How to restrict calling assemblies?
• Remoting serialization problem
• Communication hangs on Vista Laptop