DeviceExceptionGetDevice Method HIDSharp
Gets the Device associated with the exception, if any.

Namespace: HidSharp
Assembly: HidSharp (in HidSharp.dll) Version: 2.0.0
Syntax

public static Device GetDevice(
	Exception exception
)

Parameters

exception
Type: SystemException
The exception to get the associated Device for.

Return Value

Type: Device
The associated Device, or null if none is associated with it.
See Also

Reference