Share via


IsListening Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a value that indicates whether HttpListener has been started.

Namespace:  System.Net
Assembly:  System.Http (in System.Http.dll)

Syntax

'Declaration
Public ReadOnly Property IsListening As Boolean
public bool IsListening { get; }
public:
property bool IsListening {
    bool get ();
}
member IsListening : bool with get
function get IsListening () : boolean

Property Value

Type: System. . :: . .Boolean
true if the HttpListener was started; otherwise, false.

Remarks

To start an HttpListener, call the Start method.

.NET Framework Security

See Also

Reference

HttpListener Class

System.Net Namespace