'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
public: event ReadChecksumEventHandler^ ReadChecksum
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.
Property | Description |
---|---|
Checksum | The checksum that the event handler is returning back to the issuer of the event. |
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.