FtpWebResponse.LastModified Property

 

Gets the date and time that a file on an FTP server was last modified.

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

Public ReadOnly Property LastModified As Date

Property Value

Type: System.DateTime

A DateTime that contains the last modified date and time for a file.

The LastModified property returns the data requested by the GetDateTimestamp method. For requests sent using any other method, LastModified returns MinValue.

The following code example displays the date and time that a file on an FTP server was last modified.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: