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)

member CachePolicy : RequestCachePolicy with get, set

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