private string ReadCreationDateMetadata(string filepath)
{
string Filepath = filepath;
string FileName = Path.GetFileName(Filepath);
DateTime CreatedDateTime = File.GetCreationTime(Filepath);
string createdDatetime = string.Format("{0:R}", CreatedDateTime);
return createdDatetime;
}
C# code Read or get File Creation Datetime
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment