HttpWebResponse.LastModified : HttpWebResponse « System.Net « C# / C Sharp by API






HttpWebResponse.LastModified

  
 
using System; 
using System.Net; 
 
public class HeaderDemo12 {  
  public static void Main() { 
 
    HttpWebRequest req = (HttpWebRequest) 
           WebRequest.Create("http://www.Microsoft.com"); 
 
    HttpWebResponse resp = (HttpWebResponse) 
           req.GetResponse(); 
 
    Console.WriteLine("Last modified: " + resp.LastModified); 
 
    resp.Close(); 
  } 
}

   
    
  








Related examples in the same category

1.HttpWebResponse.Cookies
2.HttpWebResponse.GetResponseStream()
3.HttpWebResponse.Headers.AllKeys