Skip to content

Commit

Permalink
Merge pull request #48 from datalust/dev
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
nblumhardt authored Sep 6, 2019
2 parents b604114 + 95b498e commit c5492ad
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// limitations under the License.

using System;
using System.Net;
using System.ServiceProcess;

namespace Seq.Forwarder.ServiceProcess
Expand All @@ -26,6 +27,10 @@ class SeqForwarderWindowsService : ServiceBase

public SeqForwarderWindowsService(ServerService serverService, IDisposable disposeOnStop)
{
// Enable TLS 1.2 Support.
// .NET Framework 4.5.2 does not have it enabled by default
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;

_serverService = serverService;
_disposeOnStop = disposeOnStop;

Expand Down

0 comments on commit c5492ad

Please sign in to comment.