Integrating in C++ example

Hi,I have a question : i read the example to use TurboActivate with C++ (i am not a expert in C++).The example show this code : if (IsActivated(ProductVersionGUID) != TA_OK)

My question is : it is secure to use a simple "if" to check the licence ?Can anyone add a simple "jmp" in assembly language to "jump" this simple if ?I don't know if i have to just use the example code, if it is enough secure, or, if i have to do more than a simple "if" (because like i said, i don't know a lot C++).

Thanks.

My question is : it is secure to use a simple "if" to check the licence ?

Yes.

Can anyone add a simple "jmp" in assembly language to "jump" this simple if ?

Yes, everything can be cracked. See: "What is hardware-locked licensing" where we cover this in detail.

No licensing can prevent cracking, but that's not the point of licensing. The point of licensing is to increase revenue by preventing casual piracy (sharing keys among end-users and corporate customers).