AuthenticationService Class
Namespace: System.Net.Security
Assembly: System (in System.dll)
Represents the authentication service used by a client to authenticate a server.
public abstract class AuthenticationService
Remarks
The AuthenticationService class is an abstract base class. It provides a base implementation for the authentication service used by clients to authenticate servers. Derived classes can provide specific authentication mechanisms, such as Kerberos or NTLM.
This class is used in conjunction with the AuthenticationSession class to manage the authentication process.
Fields
The AuthenticationService class has no public fields.
Constructors
The AuthenticationService class has no public constructors.
Methods
BeginAuthenticate
Begins an asynchronous authentication operation.
callback
An AsyncCallback delegate that references the method to invoke when the asynchronous operation completes.state
A user-defined object that distinguishes this call from other calls to this method.
An IAsyncResult object that represents the asynchronous operation.
This method starts the authentication process asynchronously. The AsyncCallback delegate is invoked when the authentication operation is finished.
EndAuthenticate
Ends an asynchronous authentication operation.
asyncResult
An IAsyncResult object returned by a call to BeginAuthenticate.
This method does not return a value.
This method must be called to complete the asynchronous authentication operation started by BeginAuthenticate.
Inheritance Hierarchy
Object
└ AuthenticationService
Requirements
Server: Supported in Windows Server 2008, Windows Server 2003 SP2, Windows Server 2003.
.NET Framework Versions: Supported in 3.0, 2.0.