Check file stream to be sure that this is a canonic MDL chemical file : 4th line should contains MDLv3000 tag

Namespace:  Hyleos.Chemistry.IO
Assembly:  Hyleos.Chemistry (in Hyleos.Chemistry.dll) Version: 1.0.9.4 (1.0.9.4)

Syntax

C#
public static bool CheckFormat(
	StreamReader reader
)
Visual Basic (Declaration)
Public Shared Function CheckFormat ( _
	reader As StreamReader _
) As Boolean
Visual C++
public:
static bool CheckFormat(
	StreamReader^ reader
)

Parameters

reader
Type: System.IO..::.StreamReader
Input stream

Return Value

Returns true on success otherwise false

See Also