Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

“Not a valid CySmart dongle!” error when using CySmart C# APIs - KBA231268

“Not a valid CySmart dongle!” error when using CySmart C# APIs - KBA231268

ChaitanyaV_61
Employee
Employee
50 questions asked 25 likes received 25 sign-ins

Author: DheerajK_81           Version: **

Translation - Japanese: 「有効なCySmartドングルではありません!」CySmart C#API使用時のエラー - KBA231268 - Community Translated (JA)

Question: I am creating a C# application using CySmart APIs. When I use the TryGetCySmartDongleCommunicator API to communicate with my CySmart dongle, I get the error “Not a valid CySmart dongle”. How do I get past this error?

Answer:

CySmart software receives updates on a periodic basis where support for newer dongles are added. The error is caused because the C# application is making use of older DLLs that does not recognize newer devices.

Follow these steps to update your application to the latest DLLs:

  1. Install the latest CySmart software.
  2. Open your C# application in Visual Studio.
  3. In the Solution Explorer window, open the References section in your project as shown:
    pastedImage_5.png
  4. Right-click on all the CySmart DLLs and click Remove.
    pastedImage_6.png
  5. Right-click on References > Add Reference > Browse. Add the latest DLLs from the path: “C:\Program Files (x86)\Cypress\CySmart\1.x\bin” (x being the latest minor version).
    pastedImage_9.png
  6. Click OK.

Run the application now; it should be able to recognize the CySmart dongle.

0 Likes
215 Views
Contributors