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: