ContentDispositionHeaderValue::FileName Property

.NET Framework (current version)
 

A suggestion for how to construct a filename for storing the message payload to be used if the entity is detached and stored in a separate file.

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

public:
property String^ FileName {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

A suggested filename.

The FileName property uses MIME encoding for non-ascii characters.

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: