Class
AccessAttachment
OfficeIMO.Access
Embedded attachment metadata with lazy, bounded native payload decoding. Files are never opened or executed.
Inheritance
- object
- AccessAttachment
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Methods
public byte[] GetBytes(CancellationToken cancellationToken = default) #Decodes the bounded embedded file bytes through Core's checksum-validating compression owner.
Parameters
- cancellationToken System.Threading.CancellationToken = default
Returns
byte[]public byte[] GetEncodedBytes() #Returns a defensive copy of the exact native attachment wrapper, including compression and metadata.
Returns
byte[]public Stream OpenRead(CancellationToken cancellationToken = default) #Opens a caller-owned read-only stream over decoded file bytes. No filesystem path is resolved.
Parameters
- cancellationToken System.Threading.CancellationToken = default
Returns
Stream