How to request only the HTTP header with C#?
You need to set: webRequest.Method = “HEAD”; This way the server will respond with the header information only (no content). This is also useful to check if the server accepts certain operations (i.e. compressed data etc.).