Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MultipartFileStreamProvider.GetLocalFileName Method (HttpContentHeaders)


Gets the name of the local file which will be combined with the root path to create an absolute file name where the contents of the current MIME body part will be stored.

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

public virtual string GetLocalFileName(
	HttpContentHeaders headers


Type: System.Net.Http.Headers.HttpContentHeaders

The headers for the current MIME body part.

Return Value

Type: System.String

A relative filename with no path component.

Return to top
© 2015 Microsoft