Browse Source

Trying to fix #46 ("Check for updates" fails behind a web proxy).

pull/172/head
Daniel Grunwald 14 years ago
parent
commit
44b577af40
  1. 2
      ILSpy/AboutPage.cs

2
ILSpy/AboutPage.cs

@ -177,7 +177,7 @@ namespace ICSharpCode.ILSpy @@ -177,7 +177,7 @@ namespace ICSharpCode.ILSpy
{
var tcs = new TaskCompletionSource<AvailableVersionInfo>();
WebClient wc = new WebClient();
wc.Proxy = new WebProxy() { UseDefaultCredentials = true };
wc.UseDefaultCredentials = true;
wc.DownloadDataCompleted += delegate(object sender, DownloadDataCompletedEventArgs e) {
if (e.Error != null) {
tcs.SetException(e.Error);

Loading…
Cancel
Save