This documentation is archived and is not being maintained.

<remove> Element for authenticationModules (Network Settings) 

Removes an authentication module from the application.


<remove 
   name = "authentication module name" 
/>

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

name

The name of the authentication module to remove.

Child Elements

None.

Parent Elements

Element Description

authenticationModules

Specifies modules used to authenticate network requests.

The remove element removes authentication modules that were defined earlier in the configuration file or at a higher level in the configuration hierarchy.

The value for the name attribute should be a valid class name.

This element can be used in the application configuration file or the machine configuration file (Machine.config).

The following code example removes an authentication module.

<configuration>
  <system.net>
    <authenticationModules>
      <remove name = "System.Net.NtlmClient" />
    </authenticationModules>
  </system.net>
</configuration>
Show: