System.Net.HttpWebResponse.LastModified Property

Gets the last date and time that the contents of the response were modified.

Syntax

public DateTime LastModified { get; }

Value

A DateTime value containing the date and time the contents of the response were modified.

Exceptions

TypeReason
ObjectDisposedExceptionThe current instance has been disposed.

Remarks

The HttpWebResponse.LastModified property contains the value of the Last-Modified header received with the response. The date and time are assumed to be local time.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0