Getting file contents properties

  • Thread starter Thread starter Valerian John
  • Start date Start date
V

Valerian John

Hello:

In ASP.NET, how can one get the properties (length of audio clip, length of
video clip, dimensions of gif or jpg, etc.) for any given file?
I am primarily interested in media files. One can see these properties in
Windows Explorer's File properties (Summary tab).

TIA,
Val
 
Hi,
Check this MSDN article:
http://msdn.microsoft.com/library/d...ncodefun/html/code4fun01242003.asp?frame=true

Though I haven'y tried, it says using Windows Media SDK, you can retrieve
these media file info.

Take a look at this one also:
http://blogs.msdn.com/tims/articles/100730.aspx

Hello:

In ASP.NET, how can one get the properties (length of audio clip, length of
video clip, dimensions of gif or jpg, etc.) for any given file?
I am primarily interested in media files. One can see these properties in
Windows Explorer's File properties (Summary tab).

TIA,
Val
 
Thanks for that info, Shiva.
I will try that approach for Window Media files. I wonder if that SDK will
do other media formats.

I still need to find a way to get metadata on gif/jpg and other graphics
formats. Have seen info on EXIF information that can be retrieved from such
files. Perhaps there is a class library/SDK for graphics formats.

Thank,
Val
 
Back
Top