Snippet: Mime types and file extensions 04 April 2010 Richard Moss c# | content type | extension | mime type no comments Snippet with a pair of helper functions showing how to get the default file extension for a given mime type, or the mime type from a given file extension. Continue Reading