Skip to content

Commit

Permalink
Update HttpWebRequestMessage.cs (#1564)
Browse files Browse the repository at this point in the history
  • Loading branch information
KanishManuja-MS authored Oct 8, 2019
1 parent b254ee6 commit fb0fb18
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class HttpWebRequestMessage : IODataRequestMessageAsync

public HttpWebRequestMessage(Uri uri)
{
ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
request = (HttpWebRequest)WebRequest.Create(uri);
}

Expand Down

0 comments on commit fb0fb18

Please sign in to comment.