Skip to main content

ZipItem.LastAccessTimeUtc Property

Gets or sets the coordinated universal time value for the last access time for the zip item.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v23.2.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public DateTime LastAccessTimeUtc { get; set; }

Property Value

Type Description
DateTime

A DateTime value that is the coordinated universal time (UTC) value for the last access time.

Remarks

The LastAccessTimeUtc property value is set to the last access time of the source file if the ZipFileItem is created from the file or directory. For the ZipTextItem, the ZipStreamItemand the ZipByteArrayItem, the LastAccessTimeUtc is set by default to the time when the item was created.

Note

Different file systems record the file last access time in a different ways, with different time resolutions for updating the last access time. Therefore, you should be aware of this when comparing the last access times for files in different file systems.

The LastAccessTimeUtc value is stored in an archive file when it is saved using the ZipArchive.Save method.

See Also