A reference to a binary attachment file.
More...
|
byte[] | Data () |
| Gets the byte array of the binary file attachment.
|
|
void | CopyToPath (string destinationPath) |
| Copies the file attachment to another file path on the current system.
|
|
|
override void | Dispose (bool disposing) |
|
|
string | Id [get] |
| Gets the attachment's ID.
|
|
ulong | Len [get] |
| Gets the attachment's size given as number of bytes.
|
|
Dictionary< string, string > | Metadata [get] |
| Gets the attachment's metadata.
|
|
FileStream | Stream [get] |
| Gets file attachment as a read only FileStream .
|
|
A reference to a binary attachment file.
◆ CopyToPath()
void DittoSDK.DittoAttachment.CopyToPath |
( |
string | destinationPath | ) |
|
Copies the file attachment to another file path on the current system.
- Parameters
-
destinationPath | The destination path to copy the attachment. |
◆ Data()
byte[] DittoSDK.DittoAttachment.Data |
( |
| ) |
|
Gets the byte array of the binary file attachment.
- Returns
- The attachment data as a byte array.