Test the binary stream to see if it matchs its target type.
Namespace: Cartella.InterfacesAssembly: 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 typeExceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | Thrown if binary passed in is null |