CachePolicy Property

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 RequestCachePolicy CachePolicy { 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
Show:
© 2016 Microsoft