NegotiateStream.AuthenticateAsServer Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Handles the server side of an authentication for a client-server connection.

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

NameDescription
System_CAPS_pubmethodAuthenticateAsServer()

Called by servers to authenticate the client, and optionally the server, in a client-server connection.

System_CAPS_pubmethodAuthenticateAsServer(ExtendedProtectionPolicy)

Called by servers to authenticate the client, and optionally the server, in a client-server connection. The authentication process uses the specified extended protection policy.

System_CAPS_pubmethodAuthenticateAsServer(NetworkCredential, ExtendedProtectionPolicy, ProtectionLevel, TokenImpersonationLevel)

Called by servers to authenticate the client, and optionally the server, in a client-server connection. The authentication process uses the specified server credentials, authentication options, and extended protection policy.

System_CAPS_pubmethodAuthenticateAsServer(NetworkCredential, ProtectionLevel, TokenImpersonationLevel)

Called by servers to authenticate the client, and optionally the server, in a client-server connection. The authentication process uses the specified server credentials and authentication options.

These methods block while the authentication is in progress. To prevent the application from blocking while waiting for the authentication to complete, use the BeginAuthenticateAsServer method.

Return to top
Show: