Export (0) Print
Expand All

NetSectionGroup Class

Gets the section group information for the networking namespaces. This class cannot be inherited.

Namespace:  System.Net.Configuration
Assembly:  System (in System.dll)

public sealed class NetSectionGroup : ConfigurationSectionGroup

The NetSectionGroup type exposes the following members.

  NameDescription
Public methodNetSectionGroupInitializes a new instance of the NetSectionGroup class.
Top

  NameDescription
Public propertyAuthenticationModulesGets the configuration section containing the authentication modules registered for the local computer.
Public propertyConnectionManagementGets the configuration section containing the connection management settings for the local computer.
Public propertyDefaultProxyGets the configuration section containing the default Web proxy server settings for the local computer.
Public propertyIsDeclarationRequiredGets a value that indicates whether this ConfigurationSectionGroup object declaration is required. (Inherited from ConfigurationSectionGroup.)
Public propertyIsDeclaredGets a value that indicates whether this ConfigurationSectionGroup object is declared. (Inherited from ConfigurationSectionGroup.)
Public propertyMailSettingsGets the configuration section containing the SMTP client e-mail settings for the local computer.
Public propertyNameGets the name property of this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public propertyRequestCachingGets the configuration section containing the cache configuration settings for the local computer.
Public propertySectionGroupNameGets the section group name associated with this ConfigurationSectionGroup. (Inherited from ConfigurationSectionGroup.)
Public propertySectionGroupsGets a ConfigurationSectionGroupCollection object that contains all the ConfigurationSectionGroup objects that are children of this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public propertySectionsGets a ConfigurationSectionCollection object that contains all of ConfigurationSection objects within this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public propertySettingsGets the configuration section containing the network settings for the local computer.
Public propertyTypeGets or sets the type for this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public propertyWebRequestModulesGets the configuration section containing the modules registered for use with the WebRequest class.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodForceDeclaration()Forces the declaration for this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public methodForceDeclaration(Boolean)Forces the declaration for this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodStatic memberGetSectionGroupGets the System.Net configuration section group from the specified configuration file.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodShouldSerializeSectionGroupInTargetVersionIndicates whether the current ConfigurationSectionGroup instance should be serialized when the configuration object hierarchy is serialized for the specified target version of the .NET Framework. (Inherited from ConfigurationSectionGroup.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

This class corresponds to the <system.Net> Element (Network Settings) configuration element described in the Network Settings Schema documentation.

This section group controls configuration settings for the following namespaces:

This class provides programmatic access to information that can be stored in configuration files.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft