Method GetFileLastModifiedTime
GetFileLastModifiedTime(string, StringComparison)
Retrieves the time the file has last been modified.
public string GetFileLastModifiedTime(string path, StringComparison fileNameComparisonMethod = StringComparison.InvariantCultureIgnoreCase)
Parameters
pathstringThe file for which the last modified time should be retrieved.
fileNameComparisonMethodStringComparisonThe file name comparison method.
Returns
- string
The time the file has last been modified.