How to scan IIS host or Sql Server host in local network?

G

Guest

Dear all
I want to program implementation scan all of the IIS host or SqlServer host in the local network. But I only can search all of computer in the local network now. And how can I determind which computer is run Sql Server or IIS that I have been searched it

Thanks

Jonathan Lee
 
M

Michael Giagnocavo [MVP]

Take a look at NetServerEnum. This is a Windows native function, so you will
need to use P/Invoke to use it.
-mike
MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top