This documentation is archived and is not being maintained.

NegotiateStream.AuthenticateAsServer Method

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

Name Description
NegotiateStream.AuthenticateAsServer () Called by servers to authenticate the client, and optionally the server, in a client-server connection.
NegotiateStream.AuthenticateAsServer (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.

Show: