private bool siteExistsInIis( string webSiteName ) { if( !File.Exists( appCmdPath ) ) return false; return EwlStatics.RunProgram( appCmdPath, "list sites", "", true ).Contains( "\"" + webSiteName + "\"" ); }