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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top