<module> Element (Network Settings)

Adds a new proxy module to the application.



  type="type_fullname, assembly_fullname"

Attributes and Elements

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


Attribute Description
type The fully qualified type name (indicated by the FullName property) and the assembly name (indicated by the FullName property), separated by a comma, that implements the proxy.

Child Elements


Parent Elements

Element Description
defaultProxy Configures the Hypertext Transfer Protocol (HTTP) proxy server.


The module element registers proxy classes that implement the IWebProxy interface. After registering the proxy class, module can be used to request information through the supported proxy.

The value for the type attribute should be the class name of the module and the name of its corresponding Dynamic Link Library (DLL).

Configuration Files

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


The following example registers a custom proxy class.

        type="Test.CustomWebProxy, TestProxy, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b23a5c561934e385"  

See also