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