private void RefreshServers() { try { IRuntimeCache wc = X.Instance <IRuntimeCache>(XProto.WRuntimeCache, 0); wc.GET( new Uri(X.Const <string>(XProto.WProtocols, "APP_PROTOCOL") + "server.list") , GotServerList, global::GR.GSystem.Utils.DoNothing, true); } catch (DllNotFoundException ex) { Logger.Log(ID, "Protocol not present: " + ex.Message, LogType.INFO); EnableSS.IsEnabled = false; } catch (Exception ex) { Logger.Log(ID, ex.Message, LogType.WARNING); } }