ParseFile Constructor (String, Byte, String)Parse
Creates a new file from a byte array and a name.

Namespace: Parse
Assembly: Parse (in Parse.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax

public ParseFile(
	string name,
	byte[] data,
	string mimeType = null
)

Parameters

name
Type: SystemString
The file's name, ideally with an extension. The file name must begin with an alphanumeric character, and consist of alphanumeric characters, periods, spaces, underscores, or dashes.
data
Type: SystemByte
The file's data.
mimeType (Optional)
Type: SystemString
To specify the content-type used when uploading the file, provide this parameter.
See Also

Reference