Archive Client

If you have documents in the archive, you can retrieve them by their IDs.

See Create client configuration for instructions on how to set up the configuration for the archive client. Note that the concept of “global sender” is not used by the archive client, and may be omitted in the configuration.

ClientConfiguration clientConfiguration = null; //As initialized earlier

...

var archiveClient = new ArchiveClient(clientConfiguration);

var owner = new DocumentOwner("123456789");
var archivedDocumentId = new ArchivedDocumentId("abcde12345");

var padesByteStream = await archiveClient.GetPades(owner, archivedDocumentId);