Gets the date the file was last modified

C# | Visual Basic |
public virtual DateTime GetLastModifiedDate( Uri uri )
Public Overridable Function GetLastModifiedDate ( uri As Uri ) As 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: 2022.8.22.610