Share via


LastModified Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  System.Net
Assembly:  System.Http (in System.Http.dll)

Syntax

'Declaration
Public ReadOnly Property LastModified As DateTime
public DateTime LastModified { get; }
public:
property DateTime LastModified {
    DateTime get ();
}
member LastModified : DateTime with get
function get LastModified () : DateTime

Property Value

Type: System. . :: . .DateTime
A DateTime that contains the date and time that the contents of the response were modified.

Remarks

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

.NET Framework Security

See Also

Reference

HttpWebResponse Class

System.Net Namespace