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
精彩评论