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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.