Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

System.Net.Cache Namespace

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Defines the types and enumerations used to define cache policies for resources obtained using the WebRequest and HttpWebRequest classes.

Classes

Name Description
HttpRequestCachePolicy

Defines an application's caching requirements for resources obtained by using HttpWebRequest objects.

RequestCachePolicy

Defines an application's caching requirements for resources obtained by using WebRequest objects.

Enums

Name Description
HttpCacheAgeControl

Specifies the meaning of time values that control caching behavior for resources obtained using HttpWebRequest objects.

HttpRequestCacheLevel

Specifies caching behavior for resources obtained using the Hypertext Transfer protocol (HTTP).

RequestCacheLevel

Specifies caching behavior for resources obtained using WebRequest and its derived classes.


Feedback

Was this page helpful?