DSOFile.SummaryProperties.DateCreated
When we want to get the Created Date Meta Date from MS Document we can use 'DSOFile.SummaryProperties.DateCreated' instance variable. This variable is given the date of file is originally created.
System.IO.FileInfo file = new System.IO.FileInfo(@""+input_path);
This creation date does not mean originally created date of the document. For example, Consider I create MS Word document and save it in 'D' Storage of the memory and then I copy and paste it into MyDocument. Then the created date of copied document is considered as the copied time in above code.
But, 'DSOFile.SummaryProperties.DateCreated' is taking created date as the date of document originally created in Location 'D'
System.IO.FileInfo file = new System.IO.FileInfo(@""+input_path);
string creation_date = file.CreationTime.ToString();
This creation date does not mean originally created date of the document. For example, Consider I create MS Word document and save it in 'D' Storage of the memory and then I copy and paste it into MyDocument. Then the created date of copied document is considered as the copied time in above code.
But, 'DSOFile.SummaryProperties.DateCreated' is taking created date as the date of document originally created in Location 'D'
Comments
Post a Comment