0

I am building an App with .Net Maui and need to access the "medium created date" on .mp4 and .jpg files.

The files are located on my harddrive.

It is not possible to simply access the "file create date", since the files are copys and show a different file create date.

Medium creation date When inspecting the properties on windows I can see the "medium create date".

Different file creation date As you can see the file create date is compleatly different.

Since this is my first question on Stackoverflow I am sorry in advance if the text should be more clear in any way. If I should clarify some things, please let me know.

Help is greatly appreciated! Thank you for your time!

Christoph Rackwitz
  • 11,317
  • 4
  • 27
  • 36
Colebam
  • 1
  • 1
  • Does this answer your question? [How can I extract the date from the "Media Created" column of a video file?](https://stackoverflow.com/questions/8351713/how-can-i-extract-the-date-from-the-media-created-column-of-a-video-file) – Jason Jul 06 '23 at 11:08
  • Sadly not, since there is not method "Folder.GetDetailsOf()" in System.IO. Also it should be crossplatform if possible. But it is the right direction Thank you! – Colebam Jul 06 '23 at 11:12
  • there are numerous other similar questions on this topic – Jason Jul 06 '23 at 11:15
  • Yes but i could not find one, that adresses this problem as I have it. Or the answers to the other questions did not help me. – Colebam Jul 06 '23 at 11:24
  • Some existing solutions should work, *if* done in platform-specific folder `Platforms/Windows`. That is, you won't find a `Maui` solution, but you can find `c# Windows` solutions. I don't know about other platforms. – ToolmakerSteve Jul 06 '23 at 21:14

0 Answers0