public SeqForwarderWindowsService(ServerService serverService, IDisposable disposeOnStop)
        {
            _serverService = serverService;
            _disposeOnStop = disposeOnStop;

            ServiceName = WindowsServiceName;
        }
        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;

            ServiceName = WindowsServiceName;
        }