Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.v20.2.dll

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