You are here: Symbol Reference > dtSearch.Engine Namespace > Classes > FileConverter Class > FileConverter Properties > InputStream Property
Close
dtSearch .NET Standard API 2024.02
FileConverter.InputStream Property

Use DocStream to provide access to binary document data for this document.

public System.IO.Stream InputStream;

dtSearch treats the contents of DocStream as if it were a file found on disk, so it can be any binary document format that dtSearch supports, such as a PDF file, DOC file, XLS file, etc.  

DocStream can be any .NET class derived from System.IO.Stream, as long as the class supports Read() and Seek() and returns true from both CanRead and CanSeek.  

The FileConverter object provides three ways to return a binary document: InputStream (any .NET Stream object), InputBytes (a byte array), and InputFile (a disk file). Only one of these can be used for each document.  

 

Copyright (c) 1998-2023 dtSearch Corp. All rights reserved.