LibUsbDotNet 2.2.8
LastErrorCode Property
Library Reference ► MonoLibUsb ► MonoUsbSessionHandle ► LastErrorCode
|
![]() |
If the session handle is IsInvalid, gets the MonoUsbError status code indicating the reason.

C# | Visual Basic | Visual C++ |
public static MonoUsbError LastErrorCode { get; }
Public Shared ReadOnly Property LastErrorCode As MonoUsbError Get
public: static property MonoUsbError LastErrorCode { MonoUsbError get (); }