Compartilhar via


URLConnection.LastModified Property

Definition

Returns the value of the last-modified header field.

public virtual long LastModified { [Android.Runtime.Register("getLastModified", "()J", "GetGetLastModifiedHandler")] get; }
[<get: Android.Runtime.Register("getLastModified", "()J", "GetGetLastModifiedHandler")>]
member this.LastModified : int64

Property Value

the date the resource referenced by this URLConnection was last modified, or 0 if not known.

Attributes

Remarks

Returns the value of the last-modified header field. The result is the number of milliseconds since January 1, 1970 GMT.

Java documentation for java.net.URLConnection.getLastModified().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to