Summary
Determines if a file has a more recent last write time than the
given time, or no longer exists.
Syntax
public static string FindMoreRecentLastWriteTime(string fileName, DateTime targetLastWriteTime)
Parameters
Name |
Type |
Description |
fileName |
string |
A file to check the last write time against. |
targetLastWriteTime |
DateTime |
The datetime to compare against. |
Return Value
Type |
Description |
string |
The name of the file that has a last write time greater than
targetLastWriteTime or that no longer exists;
otherwise, null .
|