Uses an already-open stream, and optionally takes ownership of it.
Namespace: DimensionEngineering
Assembly: DimensionEngineering.Sabertooth (in DimensionEngineering.Sabertooth.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
Parameters
- stream
- Type: System.IOStream
The stream to use. - takeOwnership
- Type: SystemBoolean
Whether to take ownership of the port. If true, calls to Close will close the stream.
See Also