Share via


IsAuthenticated Property

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

Gets a Boolean value that indicates whether the client sending this request is authenticated.

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

Syntax

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

Property Value

Type: System. . :: . .Boolean
true if the client was authenticated; otherwise, false.

Remarks

Your application requests client authentication using the AuthenticationSchemes or AuthenticationSchemeSelectorDelegate property.

Your application does not receive an HttpListenerContext for requests from clients that are not successfully authenticated.

.NET Framework Security

See Also

Reference

HttpListenerRequest Class

System.Net Namespace