CacheKeysGetAttachmentKey Method
Returns unique identifier for the cache entry that represents attachment file.

Namespace: GroupDocs.Viewer.Caching
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 21.9
Syntax
public static string GetAttachmentKey(
	string attachmentId
)

Parameters

attachmentId
Type: SystemString
Unique (in context of single file) identifier of the attachment.

Return Value

Type: String
Unique identifier for the cache entry that represents attachment file.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when attachmentId is null or empty.
See Also