You should read that information using the FileInfo class of C#. This is not something that only works with images.
p.s. If you are trying to build something like IrfanView, then take a look at MagickViewer (https://magickviewer.codeplex.com).
p.s. If you are trying to build something like IrfanView, then take a look at MagickViewer (https://magickviewer.codeplex.com).