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

Popular posts from this blog

How to add standard and custom Metadata to PDF using iTextSharp

How to set and get Metadata to image using BitmapMetadata class in C#

How to generate direct line token to start a new conversation between your own client application and bot framework in Java