|
|
|
@ -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); |
|
|
|
|