Click or drag to resize

PipeStreamWriteByte Method

Writes one byte to the USB device.

Namespace:  WinUsbNet
Assembly:  WinUsbNet (in WinUsbNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public override void WriteByte(
	byte value
)

Parameters

value
Type: SystemByte
The byte to write.
Exceptions
ExceptionCondition
NotSupportedExceptionThe PipeStream does not support writing.
Win32ExceptionAn error was reported by the operating system.
IOExceptionThe UsbDevice is not open, or the transfer did not complete.
Remarks
Data sent to the USB device is not buffered, so this method will always send a 1-byte packet.
See Also