public static string GetServerName(ServerInfo webServer)
 {
     string serverName = webServer.ServerName;
     if (UseAppName)
     {
         serverName += "-" + webServer.IISAppName;
     }
     return serverName;
 }
 public static void UpdateServerActivity(ServerInfo server)
 {
     DataProvider.Instance().UpdateServerActivity(server.ServerName, server.IISAppName, server.CreatedDate, server.LastActivityDate);
     ClearCachedServers();
 }
 public static void UpdateServer(ServerInfo server)
 {
     DataProvider.Instance().UpdateServer(server.ServerID, server.Url, server.Enabled);
     ClearCachedServers();
 }