public static DateTime GetLastWriteTimeUtc(string path)
{
if (path == null)
throw new ArgumentNullException ("path");
if (File.Exists (path))
return File.GetLastWriteTimeUtc (path);
else if (Directory.Exists (path))
return Directory.GetLastWriteTimeUtc (path);
else
return new DateTime (1601, 1, 1, 0, 0, 0, DateTimeKind.Utc);
}