We cover this pretty well in our "Extra activation data" article. If you're using the TurboActivate wizard then you need to pass the extra activation data as an argument:
TurboActivate.exe --extradata="Here's some extra data"
if i use this:TurboActivate.Activate("Test data")it gives me an error Throw New InvalidProductKeyException()how i can solve that?
If you're using the TurboActivate wizard then you don't need to call Activate() from your app. But if you want to, then that exception tells you exactly what is wrong:
The product key is invalid or there's no product key.
In other words, you need to set a product key before you can activate (did you call CheckAndSavePKey()?)