CacheControlHeaderValue::NoStore Property

.NET Framework (current version)
 

Whether a cache must not store any part of either the HTTP request mressage or any response.

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

public:
property bool NoStore {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if a cache must not store any part of either the HTTP request mressage or any response; otherwise, false.

This property represents the "no-store" directive in a cache-control header field on an HTTP request or HTTP response.

The purpose of the NoStore property is to prevent the inadvertent release or retention of sensitive information. This property applies to the entire message, and may be sent either in an HTTP request or a response.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: