Click or drag to resize

AttachmentArchiveRecordReadRecord Method

Reads an attachment record from an existing attachment data archive file (.ada).

Namespace: OpenDiscoverSDK.Interfaces.Platform.Archive
Assembly: OpenDiscoverSDK.Interfaces (in OpenDiscoverSDK.Interfaces.dll) Version: 2025.4.4.0 (2025.4.4)
Syntax
C#
public static AttachmentArchiveRecord ReadRecord(
	BinaryReader archiveReader,
	long archiveFileOffset
)

Parameters

archiveReader  BinaryReader
An open BinaryReader to an attachment data archive. An attachment document is located in a archive file if IsAttachmentArchiveFilePath is true. In this case, the containing attachment data archive (.ada) file path is given by the attachment's FilePath property.
archiveFileOffset  Int64
The offset in the attachment data archive (.ada) file where the attachment record begins. This is the value of attachment's AttachmentArchiveRecordOffset property.

Return Value

AttachmentArchiveRecord
AttachmentArchiveRecord that holds information about the attachment and also it's file bytes.
See Also