HttpWebRequest req = (HttpWebRequest)WebRequest.Create(args[0]);
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
Console.WriteLine("Last modified: " + resp.LastModified);
These lines of code are used for testing the last modification time of the
server which you give on command line.
but every time I run this progg it gives the time of my system.
Then why is it said that this LastModified will give the last modification
time of the server
