Test the binary stream to see if it matchs its target type.

Namespace: Cartella.Interfaces
Assembly: AssetManagementSystem (in AssetManagementSystem.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
bool CheckBinaryType(
	Stream binary
)
Visual Basic
Function CheckBinaryType ( _
	binary As Stream _
) As Boolean
Visual C++
bool CheckBinaryType(
	Stream^ binary
)

Parameters

binary
Type: System.IO..::..Stream
Binary to check

Return Value

True if binary provided matches target type

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionThrown if binary passed in is null

See Also