Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebClient::CachePolicy Property

 

Gets or sets the application's cache policy for any resources obtained by this WebClient instance using WebRequest objects.

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

public:
property RequestCachePolicy^ CachePolicy {
	RequestCachePolicy^ get();
	void set(RequestCachePolicy^ value);
}

Property Value

Type: System.Net.Cache::RequestCachePolicy^

A RequestCachePolicy object that represents the application's caching requirements.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft