Méthode | Description | |
---|---|---|
AsMultipart ( ) : System.Net.Http.MultipartFormDataContent |
AsMultipart creates a multipart form data object containing the file contents, aka "content" and, optionally, the options, identified as "request".
|
|
Dispose ( ) : void |
Dispose method for RosetteFile - cleans things up
|
|
RosetteFile ( string fileName, string contentType = "text/plain", string options = null ) : System |
RosetteFile RosetteFile: Custom Datatype containing information about files for upload, and methods to read the files
|
|
getFileData ( ) : byte[] |
getFileData getFileData: Get the FileData in byte form
|
|
getFileDataString ( ) : string |
getFileDataString getFileDataString: Get the FileData in string form
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Virtual Dispose that is actually used by the class
|
public AsMultipart ( ) : System.Net.Http.MultipartFormDataContent | ||
Résultat | System.Net.Http.MultipartFormDataContent |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
public RosetteFile ( string fileName, string contentType = "text/plain", string options = null ) : System | ||
fileName | string | string: Path to the data file |
contentType | string | (string, optional): Description of the content type of the data file. "text/plain" is used if unsure. |
options | string | (string, optional): Json string to add extra information |
Résultat | System |