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

System.Net.AuthenticationManager.Unregister Method

Removes the authentication module with the specified authentication type from the list of registered modules. [Edit]

public static void Unregister (string authenticationScheme)

Parameters

authenticationScheme
A string containing the authentication type of the module to remove. [Edit]

Exceptions

TypeReason
ArgumentNullExceptionauthenticationScheme is null. [Edit]
InvalidOperationExceptionThere is no registered module with the authenticationScheme authentication type. [Edit]

Remarks

The authenticationScheme is required to match the value returned by the IAuthenticationModule.AuthenticationType property of a registered authentication module.

Note: To add an authentication module to the list of registered modules, call the AuthenticationManager.Register(IAuthenticationModule) method.

[Edit]

Requirements

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