Table of Contents

Method GetData

Namespace
LMKit.Data
Assembly
LM-Kit.NET.dll

GetData()

Returns a copy of the attachment raw binary content.

public byte[] GetData()

Returns

byte[]

A new byte array containing the attachment bytes, or null when 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.