HttpWebRequest & HttpWebResponse
Following example I am trying to explain how we can request to a URL from our coding and read the Header content of the response.
Create a web application and add a Textbox and a Button to Default.aspx and double click on the button and add following code.
protected void Button1_Click(object sender, EventArgs e)
{
try
[...]