ksd123
asked on
Get all site names in IIS using C#
Hi Experts,
I am trying to get all site names under iis and tried following code but could not find property under sites collection that contains names of sites.Am I missing any property?
I am trying to get all site names under iis and tried following code but could not find property under sites collection that contains names of sites.Am I missing any property?
var iisManager = new ServerManager();
SiteCollection sites = iisManager.Sites;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER