Share via


HttpWebRequest.IfModifiedSince Property

Gets the IfModifiedSince value of HttpKnownHeaderNames.

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

Syntax

public DateTime IfModifiedSince { get; }

Property Value

A DateTime that contains the contents of the If-Modified-Since HTTP header. The default value is the current date and time.

Remarks

The setter for this property isn't supported, because a function that formats the time isn't implemented.

null clears the IfModifiedSince header.

Version Information

Available in the .NET Micro Framework versions 4.0 and 4.1.

See Also

Reference

HttpWebRequest Class
HttpWebRequest Members
System.Net Namespace