GetFileKey
CacheKeys.GetFileKey method
Returns unique identifier for the cache entry that represents file.
public static string GetFileKey(string extension)
Parameter | Type | Description |
---|---|---|
extension | String | The filename suffix (including the period “.”) e.g. “.doc”. |
Return Value
Unique identifier for the cache entry that represents file.
Exceptions
exception | condition |
---|---|
ArgumentException | Thrown when extension is null or empty. |
See Also
- class CacheKeys
- namespace GroupDocs.Viewer.Caching
- assembly GroupDocs.Viewer