Gets the date the file was last modified

C# | C# | Visual Basic | Visual Basic | Visual C++ | Visual C++ | F# | F# |
public virtual DateTime GetLastModifiedDate( Uri uri )
public virtual DateTime GetLastModifiedDate( Uri uri )
Public Overridable Function GetLastModifiedDate ( uri As Uri ) As DateTime
Public Overridable Function GetLastModifiedDate ( uri As Uri ) As DateTime
public: virtual DateTime GetLastModifiedDate( Uri^ uri )
public: virtual DateTime GetLastModifiedDate( Uri^ uri )
abstract GetLastModifiedDate : uri : Uri -> DateTime override GetLastModifiedDate : uri : Uri -> DateTime
abstract GetLastModifiedDate : uri : Uri -> DateTime override GetLastModifiedDate : uri : Uri -> DateTime

- uri (Uri)
- The file to retrieve the date for


If the server fails to return a Last Modified Date, this will return today.

For dynamic pages (aspx etc) this will return today.

Exception | Condition |
---|---|
LastModifiedDateNotAvailableException | Thrown when a HTTP server does not provide a Last-Modified header. |
Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2015.6.15.120