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
virtual String^ GetLocalFileName(
    HttpContentHeaders^ headers
abstract GetLocalFileName : 
        headers:HttpContentHeaders -> string
override GetLocalFileName : 
        headers:HttpContentHeaders -> string
Public Overridable Function GetLocalFileName (
    headers As HttpContentHeaders
) As String


Return Value

Type: System.String

A relative filename with no path component.

See Also

MultipartFileStreamProvider Class
System.Net.Http Namespace

Return to top