This property refers to the information about the date and time.
[Visual Basic] Public ReadOnly Property
MainDateTime As String
[C#] public string MainDateTime {get;}
Property Value
MainDateTime refers to the date and time that the primary image was created. The format is "YYYY:MM:DD HH:MM:SS" with the time shown in 24-hour format and the date and time separated by one blank character
Example: "1996:09:01 09:15:30"
Explanation
The MainDateTime property refers to the information about the date and time.
The property value can be retrieved by executing the File.GetImageFileType or the File.GetImageFileTypeFromRawData method.