Method FormDataContent
FormDataContent(Byte[], String, MediaTypeHeaderValue)
Declaration
public static MultipartFormDataContent FormDataContent(byte[] file, string name, MediaTypeHeaderValue mediaTypeHeaderValue)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | file | |
System.String | name | |
System.Net.Http.Headers.MediaTypeHeaderValue | mediaTypeHeaderValue |
Returns
Type | Description |
---|---|
System.Net.Http.MultipartFormDataContent |