System.Net.Configuration.HttpCachePolicyElement Class

Represents the default HTTP cache policy for network resources. This class cannot be inherited.

See Also: HttpCachePolicyElement Members

Syntax

public sealed class HttpCachePolicyElement : System.Configuration.ConfigurationElement

Remarks

This class corresponds to the DefaultHttpCachePolicy Element (Network Settings) configuration element.

This class is used to specify the HTTP caching configuration that applies to network resources obtained by using the System.Net.WebRequest and System.Net.WebClient classes.

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

Requirements

Namespace: System.Net.Configuration
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0