I am in a Windows Desktop application and I have a data stream and a mime type in the database. Is there a better way than writing it to a temp folder and launching the default editor for it?
If I have to use the temp folder how can I get the file extension from the MIME type in a C# Windows Desktop application?