Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Create new ServerManager with applicationHost.config
var appHostConfigFile = @"\\{serverName}\c$\windows\system32\inetsrv\config\applicationHost.config";
using (var server = new ServerManager(appHostConfigFile))
{
// Do some stuff
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment