Check that a given File Stream is the specific Binary type.
Namespace: Cartella.InterfacesAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentException | Thrown if stream doesn't match given type |