When adding an entry from a file or directory, the Creation, Access, and Modified times for the given entry are automatically set from the filesystem values. When adding an entry from a stream or string, the values are implicitly set to DateTime.Now. The application may wish to set these values to some arbitrary value, before saving the archive, and can do so using the various setters. If you want to set all of the times, this method is more efficient.
The values you set here will be retrievable with the ModifiedTime, CreationTime and AccessedTime properties.
When this method is called, if both EmitTimesInWindowsFormatWhenSaving and EmitTimesInUnixFormatWhenSaving are false, then the EmitTimesInWindowsFormatWhenSaving flag is automatically set.
DateTime values provided here without a DateTimeKind are assumed to be Local Time.