Mono Class Library: System.Net.AuthenticationManager Overview | Members

System.Net.AuthenticationManager.Register Method

Adds an authentication module to the list of registered authentication modules managed by the authentication manager. [Edit]

public static void Register (IAuthenticationModule authenticationModule)

Parameters

authenticationModule
The System.Net.IAuthenticationModule to register. [Edit]

Exceptions

TypeReason
ArgumentNullExceptionauthenticationModule is null. [Edit]

Remarks

The AuthenticationManager.Register(IAuthenticationModule) method adds an authentication module to the end of the list of modules managed by the authentication manager. Each registered module is required to have a unique IAuthenticationModule.AuthenticationType. If a module with the same IAuthenticationModule.AuthenticationType is already registered, this method removes the registered module, and adds authenticationModule to the end of the list.

Note: Authentication modules are called in the order in which they were added to the list.

Note: To remove a module, call one of the AuthenticationManager.Unregister(IAuthenticationModule) methods.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0