示例#1
0
 public bool Check()
 {
     return
         (Credentials =
              (((!string.IsNullOrEmpty(Username)) && (!string.IsNullOrEmpty(Password))) &&
               GlobeSpotterConfiguration.CheckCredentials()));
 }
示例#2
0
        // =========================================================================
        // 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);
        }
示例#3
0
 public static void Delete()
 {
     _globeSpotterConfiguration = null;
 }