how to know the MIME type associated with an extension.

  • Thread starter Thread starter AA
  • Start date Start date
A

AA

for example, for a .gif extension, the MIME is "image/gif"

How can I get from .NET?

Thanks a lot

AA
 
AFAIK you have to look them up in the registry using the
Microsoft.Win32.Registry classes.

HTH

David
 
Back
Top