How can i detect the ip, lan port & system details
I need to make an application such that i开发者_C百科n a local area network, it's possible to get info about the LAN port, system details like RAM, processor, etc., and also the IP of the system in the LAN. Is it possible using asp.net?
You can use WMI, see also LINQ to WMI
Ip & port is possible if your server is placed in the lan, otherwise not without help The port you already know as you defined it (port 80 by default).
IP: Request.UserHostAddress()
The rest you will need a 3'rd party application to tell you ie. a browser plugin
精彩评论