Skip to main content

ZipItem.CreationTimeUtc Property

Gets or sets the coordinated universal time value of the creation time for the zip item.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v24.1.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public DateTime CreationTimeUtc { get; set; }

Property Value

Type Description
DateTime

A DateTime value that is the creation time value expressed in coordinated universal time (UTC).

Remarks

The ZipArchive.AddFile and ZipArchive.AddDirectory methods set the CreationTimeUtc to the creation time in UTC of the file or directory being zipped. The ZipArchive.AddByteArray, ZipArchive.AddText and ZipArchive.AddStream methods set the CreationTimeUtc to the current time in UTC.

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

See Also