Changes in the System.IO Namespace


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.




Professional ASP. NET 1.1
Professional ASP.NET MVC 1.0 (Wrox Programmer to Programmer)
ISBN: 0470384611
EAN: 2147483647
Year: 2006
Pages: 243

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net