But then I would need a lookup table, don't I? Is there no way this could be done with the .net framework? There are applications which have exactly this kind of functionality for example if you click on a download link with most browsers they display the mime-type without downloading. How is it done there?
S
SilverV
@SilverV
Posts
-
Detect mime-type without download -
Detect mime-type without downloadIf I have the URL of a file e.g. http://mysite.com/file.php?f=1 where I cannot see the extension of the file is it possible to determine the mime-type of the file without downloading it first?
-
Delete cookiesSo I have to do it via the file system. I had hoped there would be an easier way because every Windows version stores them in a different directory. :sigh:
-
Delete cookiesHow is it possible to clear the cookies a webbrowser component set?
-
Mail send dateIs it possible to specify the date and time of an outgoing System.Net.Mail.MailMessage?
-
Replace umlautsThanks! I would never have figured it out alone. :sigh:
-
Replace umlautsCould anyone tell me why this doesn't work: string st = "ä"; st.Replace("ä", "ae"); Console.WriteLine(st); //output: ä What is going on?