Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Specifies modules used to authenticate network requests.
<configuration>
<system.net>
<authenticationModules>
<authenticationModules>
</authenticationModules>
The following sections describe attributes, child elements, and parent elements.
None.
Element | Description |
---|---|
add | Adds an authentication module to the application. |
clear | Clears all authentication modules from the application. |
remove | Removes an authentication module from the application. |
Element | Description |
---|---|
system.net | Contains settings that specify how the .NET Framework connects to the network. |
The authenticationModule
element specifies the authentication modules that conduct the authentication process with a server. An authentication module must implement the IAuthenticationModule interface.
This element can be used in the application configuration file or the machine configuration file (Machine.config).
The following example enables an authentication module. You should replace the values for Version and PublicKeyToken with the correct values for the specified module.
<configuration>
<system.net>
<authenticationModules>
<add type="System.Net.DigestClient, System, Version=2.0.3600.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</authenticationModules>
</system.net>
</configuration>
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register now