public static void SetLastAccessTimeUtc(String path, DateTime lastAccessTime) { String fullPath = PathHelpers.GetFullPathInternal(path); FileSystem.Current.SetLastAccessTime(fullPath, File.GetUtcDateTimeOffset(lastAccessTime), asDirectory: true); }
public static void SetLastWriteTimeUtc(String path, DateTime lastWriteTimeUtc) { String fullPath = Path.GetFullPath(path); FileSystem.Current.SetLastWriteTime(fullPath, File.GetUtcDateTimeOffset(lastWriteTimeUtc), asDirectory: true); }
public static void SetLastAccessTimeUtc(string path, DateTime lastAccessTimeUtc) { string fullPath = Path.GetFullPath(path); FileSystem.SetLastAccessTime(fullPath, File.GetUtcDateTimeOffset(lastAccessTimeUtc), asDirectory: true); }
public static void SetCreationTimeUtc(string path, DateTime creationTimeUtc) { string fullPath = Path.GetFullPath(path); FileSystem.SetCreationTime(fullPath, File.GetUtcDateTimeOffset(creationTimeUtc), asDirectory: true); }
public static void SetCreationTimeUtc(String path, DateTime creationTimeUtc) { String fullPath = PathHelpers.GetFullPathInternal(path); FileSystem.Current.SetCreationTime(fullPath, File.GetUtcDateTimeOffset(creationTimeUtc), asDirectory: true); }