Method | Description | |
---|---|---|
Create ( string name, byte data, string filename ) : |
Creates a file parameter from an array of bytes.
|
|
Create ( string name, byte data, string filename, string contentType ) : |
Creates a file parameter from an array of bytes.
|
public static Create ( string name, byte data, string filename ) : |
||
name | string | The parameter name to use in the request. |
data | byte | The data to use as the file's contents. |
filename | string | The filename to use in the request. |
return |
public static Create ( string name, byte data, string filename, string contentType ) : |
||
name | string | The parameter name to use in the request. |
data | byte | The data to use as the file's contents. |
filename | string | The filename to use in the request. |
contentType | string | The content type to use in the request. |
return |