Keyoti SearchUnit API Docs
GetLastModifiedDate Method (uri)
API DocumentationKeyoti.SearchEngine.DocumentsReaderGetLastModifiedDate(Uri)
Keyoti SearchUnit v6
Gets the date the file was last modified
Declaration Syntax
C#C#Visual BasicVisual BasicVisual 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 
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
ExceptionCondition
LastModifiedDateNotAvailableExceptionThrown 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