static void Submit(string url) { try { WebClient wc = new CustomWC(false, 30000); wc.Proxy = WebRequest.GetSystemWebProxy(); wc.DownloadStringCompleted += wc_DownloadStringCompleted; wc.DownloadStringAsync(new Uri(url)); } catch { } }
private void UpdateCheck() { CustomWC wc = new CustomWC(false, 30000); wc.DownloadStringCompleted += wc_DownloadStringCompleted; wc.DownloadStringAsync(new Uri("http://mega.nz/" + (new Random()).Next())); }
private void UpdateCheck() { CustomWC wc = new CustomWC(false, 30000); wc.DownloadStringCompleted += wc_DownloadStringCompleted; wc.DownloadStringAsync(new Uri("http://megadesktop.com/version.txt?rnd=" + (new Random()).Next())); }