WebClient.CachePolicy Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: