The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MultipartFileStreamProvider.GetLocalFileName Method

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: HttpContentHeaders
The headers for the current MIME body part.

Return Value

Type: System.String
A relative filename with no path component.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft