public static GlobeSpotterConfiguration Load() { try { Stream globeSpotterConf = Web.GlobeSpotterConfiguration(); if (globeSpotterConf != null) { globeSpotterConf.Position = 0; _globeSpotterConfiguration = (GlobeSpotterConfiguration)XmlGlobeSpotterconfiguration.Deserialize(globeSpotterConf); globeSpotterConf.Close(); } } catch { // ignored } return(_globeSpotterConfiguration); }
public static void Delete() { _globeSpotterConfiguration = null; }