System.Net.HttpListener.HttpListener C# (CSharp) Method

HttpListener() public method

public HttpListener ( ) : Microsoft.Win32.SafeHandles
return Microsoft.Win32.SafeHandles
        public HttpListener()
        {
            if (NetEventSource.IsEnabled) NetEventSource.Enter(this);

            _state = State.Stopped;
            _internalLock = new object();
            _defaultServiceNames = new ServiceNameStore();

            _timeoutManager = new HttpListenerTimeoutManager(this);

            // default: no CBT checks on any platform (appcompat reasons); applies also to PolicyEnforcement 
            // config element
            _extendedProtectionPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);

            if (NetEventSource.IsEnabled) NetEventSource.Exit(this);
        }

Same methods

HttpListener::HttpListener ( ) : System.Collections