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

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

Parameters

extension
Type: SystemString
The filename suffix (including the period ".") e.g. ".doc".

Return Value

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