FileTypeFromStream Method (Stream) |
Detects file type by reading the file signature.
Namespace: GroupDocs.ViewerAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 21.2
Syntaxpublic static FileType FromStream(
Stream stream
)
Public Shared Function FromStream (
stream As Stream
) As FileType
public:
static FileType^ FromStream(
Stream^ stream
)
static member FromStream :
stream : Stream -> FileType
Parameters
- stream
- Type: System.IOStream
The file stream.
Return Value
Type:
FileType
See Also