Where do I implement the serial check in my code?
You can implement the serial key check in your application's start up routine only.
However, it is best to add multiple checks in important routines so that it is harder
for hackers to simply jump over the check. To do it effectively they would have
to jump over every instance of your Serial Key check.