System.Net.Configuration.HttpCachePolicyElement Class

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

See Also: HttpCachePolicyElement Members


public sealed class HttpCachePolicyElement : System.Configuration.ConfigurationElement


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.


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