To combat software piracy, I've decided to try dongle protection. I've bought the trial kit and found out no source code given but the API.
Using API is ok, but what comes to my mind is... the API can be easily replaced by a fake API. For example, let's say the API is called dongle.dll. And...