ContentDispositionHeaderValue.FileName Property

.NET Framework (current version)
 
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.

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 string FileName { get; set; }

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: