Anyone have a routine for querying IIS server names on a network? I am writing a .dll that will save a file to a specific directory on an IIS server, but I don't know what the name of the server will be (it could be any server running IIS). I'm thinking ADSI and getting a list of the machine names, but wondering if there's a way to return just machines running IIS.
Any help would be appreciated.
Any help would be appreciated.