mscorlib(4.0.0.0) API with additions
System.Net.Configuration Namespace Reference

Classes

class  AuthenticationModuleElement
 Represents the type information for an authentication module. This class cannot be inherited. More...
 
class  AuthenticationModuleElementCollection
 Represents a container for authentication module configuration elements. This class cannot be inherited. More...
 
class  AuthenticationModulesSection
 Represents the configuration section for authentication modules. This class cannot be inherited. More...
 
class  BypassElement
 Represents the address information for resources that are not retrieved using a proxy server. This class cannot be inherited. More...
 
class  BypassElementCollection
 Represents a container for the addresses of resources that bypass the proxy server. This class cannot be inherited. More...
 
class  ConnectionManagementElement
 Represents the maximum number of connections to a remote computer. This class cannot be inherited. More...
 
class  ConnectionManagementElementCollection
 Represents a container for connection management configuration elements. This class cannot be inherited. More...
 
class  ConnectionManagementSection
 Represents the configuration section for connection management. This class cannot be inherited. More...
 
class  DefaultProxySection
 Represents the configuration section for Web proxy server usage. This class cannot be inherited. More...
 
class  FtpCachePolicyElement
 Represents the default FTP cache policy for network resources. This class cannot be inherited. More...
 
class  HttpCachePolicyElement
 Represents the default HTTP cache policy for network resources. This class cannot be inherited. More...
 
class  HttpListenerElement
 Represents the HttpListener element in the configuration file. This class cannot be inherited. More...
 
class  HttpListenerTimeoutsElement
 Represents the T:System.Net.HttpListener timeouts element in the configuration file. This class cannot be inherited. More...
 
class  HttpWebRequestElement
 Represents the maximum length for response headers. This class cannot be inherited. More...
 
class  Ipv6Element
 Determines whether Internet Protocol version 6 is enabled on the local computer. This class cannot be inherited. More...
 
class  MailSettingsSectionGroup
 Initializes a new instance of the T:System.Net.Configuration.MailSettingsSectionGroup class. More...
 
class  ModuleElement
 Represents the type information for a custom T:System.Net.IWebProxy module. This class cannot be inherited. More...
 
class  NetSectionGroup
 Gets the section group information for the networking namespaces. This class cannot be inherited. More...
 
class  PerformanceCountersElement
 Represents the performance counter element in the System.Net configuration file that determines whether networking performance counters are enabled. This class cannot be inherited. More...
 
class  ProxyElement
 Identifies the configuration settings for Web proxy server. This class cannot be inherited. More...
 
class  RequestCachingSection
 Represents the configuration section for cache behavior. This class cannot be inherited. More...
 
class  ServicePointManagerElement
 Represents the default settings used to create connections to a remote computer. This class cannot be inherited. More...
 
class  SettingsSection
 Represents the configuration section for sockets, IPv6, response headers, and service points. This class cannot be inherited. More...
 
class  SmtpNetworkElement
 Represents the network element in the SMTP configuration file. This class cannot be inherited. More...
 
class  SmtpSection
 Represents the SMTP section in the System.Net configuration file. More...
 
class  SmtpSpecifiedPickupDirectoryElement
 Represents an SMTP pickup directory configuration element. More...
 
class  SocketElement
 Represents information used to configure T:System.Net.Sockets.Socket objects. This class cannot be inherited. More...
 
class  WebProxyScriptElement
 Represents information used to configure Web proxy scripts. This class cannot be inherited. More...
 
class  WebRequestModuleElement
 Represents a URI prefix and the associated class that handles creating Web requests for the prefix. This class cannot be inherited. More...
 
class  WebRequestModuleElementCollection
 Represents a container for Web request module configuration elements. This class cannot be inherited. More...
 
class  WebRequestModulesSection
 Represents the configuration section for Web request modules. This class cannot be inherited. More...
 
class  WebUtilityElement
 Represents the WebUtility element in the configuration file. More...
 

Enumerations

enum  UnicodeDecodingConformance { UnicodeDecodingConformance.Auto, UnicodeDecodingConformance.Strict, UnicodeDecodingConformance.Compat, UnicodeDecodingConformance.Loose }
 Controls how Unicode characters are interpreted by the Overload:System.Net.WebUtility.HtmlDecode methods. More...
 
enum  UnicodeEncodingConformance { UnicodeEncodingConformance.Auto, UnicodeEncodingConformance.Strict, UnicodeEncodingConformance.Compat }
 Controls how Unicode characters are output by the Overload:System.Net.WebUtility.HtmlEncode methods. More...
 

Enumeration Type Documentation

◆ UnicodeDecodingConformance

Controls how Unicode characters are interpreted by the Overload:System.Net.WebUtility.HtmlDecode methods.

Enumerator
Auto 

Use automatic behavior. The decoding behavior is determined by current application's target Framework. For .NET Framework 4.5 and later, the Unicode encoding decoding is strict.

Strict 

Use strict behavior. Specifies that the incoming encoded data is checked for validity before being decoded. For example, an input string of "𣎴" would decode as U+233B4, but an input string of "��" would fail to decode properly. Already-decoded data in the string is not checked for validity. For example, an input string of "\ud800" will result in an output string of "\ud800", as the already-decoded surrogate is skipped during decoding, even though it is unpaired.

Compat 

Use compatible behavior. Specifies that incoming data is not checked for validity before being decoded. For example, an input string of "�" would decode as U+D84C, which is an unpaired surrogate. Additionally, the decoder does not understand code points in the SMP unless they're represented as HTML-encoded surrogates, so the inputstring "𣎴" would result in the output string "𣎴".

Loose 

Use loose behavior. Similar to F:System.Net.Configuration.UnicodeDecodingConformance.Compat in that there are no validity checks, but the decoder also understands code points. The input string "𣎴" would decode into the character U+233B4 correctly. This switch is meant to provide maximum interoperability when the decoder doesn't know which format the provider is using to generate the encoded string.

Definition at line 4 of file UnicodeDecodingConformance.cs.

◆ UnicodeEncodingConformance

Controls how Unicode characters are output by the Overload:System.Net.WebUtility.HtmlEncode methods.

Enumerator
Auto 

Use automatic behavior. The Unicode encoding behavior is determined by current application's target Framework. For .NET Framework 4.5 and later, the Unicode encoding behavior is strict.       

Strict 

Use strict behavior. Specifies that individual UTF-16 surrogate code points are combined into a single code point when one of the Overload:System.Net.WebUtility.HtmlEncode methods is called. For example, given the input string "\uD84C\uDFB4" (or "\U000233B4"), the output of the Overload:System.Net.WebUtility.HtmlEncode methods is "𣎴". If the input is a malformed UTF-16 string (it contains unpaired surrogates, for example), the bad code points will be replaced with U+FFFD (Unicode replacement char) before being HTML-encoded.

Compat 

Use compatible behavior. Specifies that individual UTF-16 surrogate code points are output as-is when one of Overload:System.Net.WebUtility.HtmlEncode methods is called. For example, given a string "\uD84C\uDFB4" (or "\U000233B4"), the output of Overload:System.Net.WebUtility.HtmlEncode is "\uD84C\uDFB4" (the input is not encoded).

Definition at line 4 of file UnicodeEncodingConformance.cs.