Check that a given File Stream is the specific Binary type.

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

Syntax

C#
void CheckBinaryType(
	string typeName,
	Stream file
)
Visual Basic
Sub CheckBinaryType ( _
	typeName As String, _
	file As Stream _
)
Visual C++
void CheckBinaryType(
	String^ typeName, 
	Stream^ file
)

Parameters

typeName
Type: System..::..String
Specific Binary Type Name
file
Type: System.IO..::..Stream
File Stream to check

Exceptions

ExceptionCondition
System..::..ArgumentExceptionThrown if stream doesn't match given type

See Also