Example #1
0
 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 { }
 }
Example #2
0
 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()));
 }