Quantcast
Channel: How do I know content type in C#.NET for an URL? - Stack Overflow
Browsing latest articles
Browse All 2 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 latest articles
Browse All 2 View Live


Latest Images