Click or drag to resize

FileCachePersistor Class

Store of SignatureSession in file system.
Inheritance Hierarchy

Namespace:  ASDSoft.WebSigner.Server.Cache
Assembly:  ASDSoft.WebSigner.Server (in ASDSoft.WebSigner.Server.dll) Version: 2.5.0
Syntax
C#
public class FileCachePersistor : SerializedCachePersistorBase

The FileCachePersistor type exposes the following members.

Constructors
  NameDescription
Public methodFileCachePersistor
Constructor for change default folder for store.
Top
Properties
  NameDescription
Protected propertyCacheFolder
Folder for store provide in constructor.
Protected propertyDefaultExpiration
Default time expiration for store signature session in the cache without interaction.
(Inherited from CachePersistorBase.)
Public propertyDocumentPersistor (Inherited from CachePersistorBase.)
Public propertySynchronizer
Implementation of notification and synchronization changes in the cache.
(Inherited from CachePersistorBase.)
Top
Methods
  NameDescription
Public methodDelete
Remove signature session from cache.
(Inherited from CachePersistorBase.)
Protected methodDeleteInternal
Delete signature session file from folder.
(Overrides CachePersistorBaseDeleteInternal(String).)
Protected methodGetExpiredSessionsId
Get all expired files in a folder for cleaning folder.
(Overrides CachePersistorBaseGetExpiredSessionsId.)
Protected methodGetFileInfo
Construct path for signature session file.
Public methodLoad
Load and deserialize signature session from external cache.
(Inherited from SerializedCachePersistorBase.)
Public methodLoadProgress
Load progress of signatures saving from file.
(Overrides CachePersistorBaseLoadProgress(String).)
Protected methodLoadSerialized
Load the serialized signature session from file.
(Overrides SerializedCachePersistorBaseLoadSerialized(String).)
Public methodSave
Save signature session to cache.
(Inherited from CachePersistorBase.)
Protected methodSaveInternal
Serialize and save signature session item to the external cache.
(Inherited from SerializedCachePersistorBase.)
Public methodSaveProgress
Save progress of signatures saving to file.
(Overrides CachePersistorBaseSaveProgress(String, Int32).)
Protected methodSaveSerialized
Save the serialized signature session to file.
(Overrides SerializedCachePersistorBaseSaveSerialized(String, DateTime, Byte).)
Top
Remarks
This implementation used as default WebSigner component configuration. Default folder for store is GetTempPath + ASDWebSigner/SessionCache.
See Also