Search
 
SCRIPT & CODE EXAMPLE
 

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"));
Comment

PREVIOUS NEXT
Code Example
Csharp :: print a file from C# 
Csharp :: wpf how to focus on element 
Csharp :: initialize a char array java 
Csharp :: c# ternary operator 
Csharp :: pause unity game 
Csharp :: unity button not working 
Csharp :: how to generate a random number in c# 
Csharp :: JsonConvert.DeserializeObject options camelcasing c# .net 
Csharp :: c# loop class properties add to array 
Csharp :: singleton design pattern c# volatile 
Csharp :: c# modulo 
Csharp :: unity scroll rect to bottom 
Csharp :: asp net img src path from database 
Csharp :: unity rigidbody2d disable 
Csharp :: c# string 
Csharp :: c# round to closest multiple 
Csharp :: serilog .net 6 
Csharp :: viewBag as a list 
Csharp :: c sharp list 
Csharp :: Save object to file C# 
Csharp :: c# validate xml 
Csharp :: How to make a simple console select screen using C# ReadKey 
Csharp :: ASP.net ApplicationUser referance not found 
Csharp :: pubxml environment variables 
Csharp :: c# retry delay request 
Csharp :: store data between razor pages 
Csharp :: Comparing Arrays using LINQ in C# 
Csharp :: pricipal permission attribute in c# 
Csharp :: c# mongodb count documents 
Csharp :: c# convert excel column index to letter 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =