Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Commit 28f8566

Browse files
James FentonJames Fenton
James Fenton
authored and
James Fenton
committed
Set the default web proxy for ADAL to use
1 parent 9270c89 commit 28f8566

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Microsoft.Alm.Authentication/Src/Network.cs

+3
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,9 @@ private static HttpMessageHandler GetHttpMessageHandler(TargetUri targetUri, Net
511511
{
512512
handler.Proxy = proxy;
513513
handler.UseProxy = true;
514+
515+
// Set the default web proxy for ADAL to use
516+
WebRequest.DefaultWebProxy = proxy;
514517
}
515518
}
516519
}

0 commit comments

Comments
 (0)