Once you have purchased a legitimate key, follow these steps:
Do not trust key generators. Do not buy from unverified resellers. A legitimate key is cheap enough that the risk of a scam is never worth it. 3dmark advanced edition key