FormFix v6.0 for .NET - Updated
ReadChecksum Event (IdentificationProcessor)



Accusoft.FormFixSdk Namespace > IdentificationProcessor Class : ReadChecksum Event
An event for retrieving a checksum for the persistent state of a form set.
Syntax
'Declaration
 
Public Event ReadChecksum As ReadChecksumEventHandler
'Usage
 
Dim instance As IdentificationProcessor
Dim handler As ReadChecksumEventHandler
 
AddHandler instance.ReadChecksum, handler
public event ReadChecksumEventHandler ReadChecksum
public:
event ReadChecksumEventHandler^ ReadChecksum
Event Data

The event handler receives an argument of type ReadChecksumEventArgs containing data related to this event. The following ReadChecksumEventArgs properties provide information specific to this event.

PropertyDescription
The checksum that the event handler is returning back to the issuer of the event.  
Remarks

The IdentificationProcessor class has numerous optimizations to save processing time. One of those is the ability to save the results of analysis of a set of form models and reuse that analysis at a later date. The optimization relies on a checksum of the form set to recognize when it must re-analyze the set of form models.

An IdentificationProcessor object uses this event to retrieve a checksum of the persistent state of a form set. That checksum should change whenever the set of forms changes.

Suggestion: When integrating with FormDirector, use the Accusoft.FormDirectorSdk.FormSet.GetPartialHashCode method to generate this checksum.

See Also