Click or drag to resize

UsbDeviceDefaultReadTimeout Property

Gets or sets the initial ReadTimeout value.

Namespace:  WinUsbNet
Assembly:  WinUsbNet (in WinUsbNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public int DefaultReadTimeout { get; set; }

Property Value

Type: Int32

The initial ReadTimeout time, in milliseconds, for each PipeStream in the PipeStreams collection. A value of zero means never time out.

Remarks

You must set the DefaultReadTimeout before opening the UsbDevice. The Open method will set the ReadTimeout property of each PipeStream to this value.

The default value is 100 milliseconds.

See Also