The
System.IO.File and
System.IO.Directory classes gain six new methods for handling file timestamps in UTC format:
GetCreationTimeUtc ,
GetLastAccessTimeUtc ,
GetLastWriteTimeUtc ,
SetCreationTimeUtc ,
SetLastAccessTimeUtc and
SetLastWriteTimeUtc .
The
System.IO.FileInfo ,
System.IO.FileSystemInfo and
System.IO.DirectoryInfo classes gain three new read/write properties:
CreationTimeUtc ,
LastAccessTimeUtc and
LastWriteTimeUtc .
The
System.IO.Path.GetDirectoryName method now correctly returns the current folder for a path that ends with "
\. " (a backslash and a single period), instead of returning the parent folder as it did In version 1.0.