开发者

netstat command on a server (winform application)

I'm looking for how to recorgnize some server (windows in my case) network configuration (information we obtain using netstat dos command).

  I have the login and password of the target (server), and I developp with visual studio 2005 (c# or vB.NET doesn't matter).

  (Can I use WMI for that ???)

Rega开发者_Python百科rds,


Have a look at this SO:

How can I access netstat-like Ethernet statistics from a Windows program

And of course ou can remotely access the WMI of a remote server; just make sure the corresponding services are not disabled and running on the target machine.


there is also another utility smaller and faster than PSExec : RemCom, but I still hope there is another approch using .NET framework

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜