.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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.v21.1.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