Method GetData
GetData()
Returns a copy of the attachment raw binary content.
public byte[] GetData()
Returns
- byte[]
A new byte array containing the attachment bytes, or
nullwhen this instance does not carry a raw in-memory payload (for example, when created from an in-memory ImageBuffer).
Remarks
The returned array is a clone. Modifying it does not affect the attachment.