Skip to content

Commit

Permalink
Remove security protocol usage
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavminhas committed Jul 26, 2024
1 parent 366b237 commit 0e67d8c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion GmailAPIHelper/GmailHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ public static GmailService GetGmailService(string applicationName, TokenPathType
new FileDataStore(credPath, true)).Result;
}
//Create Gmail API service.
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
var service = new GmailService(new BaseClientService.Initializer()
{
HttpClientInitializer = credential,
Expand Down

0 comments on commit 0e67d8c

Please sign in to comment.