For MIME lookup replaced the Win32 Registry code with the MimeMapping.GetMimeMapping function