Keyoti SearchUnit API Docs
GetFileType Method (uri)
API DocumentationKeyoti.SearchEngine.DocumentsReaderGetFileType(Uri)
Keyoti SearchUnit v6
Retrieves the mime-type for the specified Uri
Declaration Syntax
C#Visual Basic
public virtual string GetFileType(
	Uri uri
)
Public Overridable Function GetFileType ( 
	uri As Uri
) As String
Parameters
uri (Uri)
The document Uri
Return Value
String
Mimetypes as per the server's settings. Eg. a html document would return "text/html".

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610