Quantcast
Channel: How do I know content type in C#.NET for an URL? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by bohdan_trotsenko for How do I know content type in C#.NET for an URL?

The only way is to send a HEAD request to the website and check the Content-Type header.

View Article


How do I know content type in C#.NET for an URL?

I want to check content type in C#.NET. I am accessing third party URL and based on that, I want to check its type. Just note down that, I am not getting any extension you can see in below example of...

View Article

Browsing all 2 articles
Browse latest View live


Latest Images