Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

Get Last Access Time Of Directory C#

//get last access time
string lastAccessTimePath = @"C:UsersYogeshkumar HadiyaDesktopDirectoryHandling";
DateTime lastAccessTime = Directory.GetLastAccessTime(lastAccessTimePath);
Console.WriteLine("Directory last accessed at " + lastAccessTime.ToString("MM/dd/yyyy hh:mm tt"));
Source by www.yogeshhadiya.in #
 
PREVIOUS NEXT
Tagged: #Get #Last #Access #Time #Of #Directory
ADD COMMENT
Topic
Name
7+1 =