/// <summary> /// /// </summary> public override void Open() { //InitLibrary(); // if (m_IsOpen) { Close(); } // if (!string.IsNullOrEmpty(m_Address)) { if (LibHidAPI.Exists(m_Address)) { Open(m_Address); return; } } if (m_DID == -1) //??? { m_VID = m_PID = m_DID = 0; } else { } Open(m_VID, m_PID, m_DID); }
/// <summary> /// /// </summary> public static bool Exists(string path) { return(LibHidAPI.Exists(path)); }