Stop Method (bWait)

LibUsbDotNet

LibUsbDotNet 2.2.8 Stop Method (bWait)
Library ReferenceMonoLibUsbMonoUsbEventHandlerStop(Boolean)
LibUsbDotNet on SourceForge
Stops the handle events thread.
Declaration Syntax
C# Visual Basic Visual C++
public static void Stop(
	bool bWait
)
Public Shared Sub Stop ( _
	bWait As Boolean _
)
public:
static void Stop(
	bool bWait
)
Parameters
bWait (Boolean)
If true, wait for the thread to exit before returning.
Remarks

Calling this method when the thread is not running will have no affect.

Note: If the thread is running, this method must be called before the application exits. Failure to do so will cause the application to hang.

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)