CheckAndSavePKey

CheckAndSavePKey returns false from inside of my java app when I try a newly generated key. TurboActivate directory with dat file is located in correct place. I was able to get this to work with a previous key and then I deactivated the key and deleted it, generated another, and tried same code. (I'm testing to understand behavior). My code looks like this:

TurboActivate.VersionGUID = "My VersionGUID"; TurboActivate.SetPDetsLocation();

String strKey = "Newly Generated Key"; boolean bValidKey = TurboActivate.CheckAndSavePKey(strKey, TurboActivate.TA_USER); // bValidKey alway = false

If you're already activated with another key then you can't use a new key. Does that make sense?

but only on that version of the product, correct? If I were to generate another key off of a different version I should be able to activate it? It would be nice to clear the key-computer tether if you delete the key however. In a development mode, I want to experiment to completely understand the behavior of your product, but there is no way to get my computer back to a pristine state like it was never activated.

If I were to generate another key off of a different version I should be able to activate it?

You can only activate keys from the versions from which it was generated.

but there is no way to get my computer back to a pristine state like it was never activated.

There is. Call Deactivate(true). This will deactivate and delete the product key.