Gets the date the file was last modified
Declaration Syntax
C# | Visual Basic |
public virtual DateTime GetLastModifiedDate( Uri uri )
Public Overridable Function GetLastModifiedDate ( uri As Uri ) As DateTime
Parameters
- uri (Uri)
- The file to retrieve the date for
Return Value
Remarks
If the server fails to return a Last Modified Date, this will return today.
Remarks
For dynamic pages (aspx etc) this will return today.
Exceptions
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