Skip to content

Commit

Permalink
Merge pull request #33 from PoshSec/develop
Browse files Browse the repository at this point in the history
 Merge change to set SecurityProtocol to TLS 1.1 or 1.2
  • Loading branch information
Good-man authored Jun 3, 2018
2 parents bf1f23b + 10251b7 commit 88675c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions poshsecframework/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Net;

namespace poshsecframework
{
Expand All @@ -12,6 +13,8 @@ static class Program
[STAThread]
static void Main()
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11;

try
{
Application.EnableVisualStyles();
Expand Down

0 comments on commit 88675c4

Please sign in to comment.