public bool Check() { return (Credentials = (((!string.IsNullOrEmpty(Username)) && (!string.IsNullOrEmpty(Password))) && GlobeSpotterConfiguration.CheckCredentials())); }
// ========================================================================= // Functions (Static) // ========================================================================= public static GlobeSpotterConfiguration Load() { Stream globeSpotterConf = Web.DownloadGlobeSpotterConfiguration(); if (globeSpotterConf != null) { globeSpotterConf.Position = 0; _globeSpotterConfiguration = (GlobeSpotterConfiguration)XmlGlobeSpotterconfiguration.Deserialize(globeSpotterConf); globeSpotterConf.Close(); } return(_globeSpotterConfiguration); }
public static void Delete() { _globeSpotterConfiguration = null; }