FileDescriptionLastModificationDate Property
The last modification date.

Namespace: GroupDocs.Viewer.Domain
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.6
public DateTime LastModificationDate { get; set; }

Property Value

Type: DateTime
The last modification date.
The following example demonstrates how to get the document last modification date.
ViewerConfig config = new ViewerConfig();
config.StoragePath = @"C:\storage";

ViewerImageHandler imageHandler = new ViewerImageHandler(config);
FileListContainer container = imageHandler.GetFileList();

foreach (FileDescription fileDescription in container.Files)
    if (!fileDescription.IsDirectory) 
       Console.WriteLine("File size is {0}", fileDescription.LastModificationDate);
See Also