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 (); }