Obtain document history information
Leave feedback
On this page
GroupDocs.Signature allows to get document history information about processed changes that include list of ProcessLog. Each history log record contains following information :
- date/time of processed change.
- type of document process change. See ProcessType
- description of change
- quantity of succeeded and failed signatures
The following code snippet demonstrates how to obtain information about document historical changes and analyze them.
using (Signature signature = new Signature(filePath))
{
IDocumentInfo documentInfo = signature.GetDocumentInfo();
// display document process history information
Console.WriteLine($"Document Process logs information: count = {documentInfo.ProcessLogs.Count}");
foreach (ProcessLog processLog in documentInfo.ProcessLogs)
{
var info = $" - operation [{processLog.Type}] on {processLog.Date.ToShortDateString()}. ";
info += $"Succedded/Failed {processLog.Succeeded}/{processLog.Failed}. Message: {processLog.Message}";
Console.WriteLine(info);
}
}
You may easily run the code above and see the feature in action in ourΒ GitHub examples:
- GroupDocs.Signature for .NET examples, plugins, and showcase
- GroupDocs.Signature for Java examples, plugins, and showcase
- Document Signature for .NET MVC UI Example
- Document Signature for .NET App WebForms UI Example
- Document Signature for Java App Dropwizard UI Example
- Document Signature for Java Spring UI Example
Along with the full-featured .NET library, we provide simple but powerful free online apps.
To sign PDF, Word, Excel, PowerPoint, and other documents you can use the online apps from the GroupDocs.Signature App Product Family.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.