Retrieve Installed License Key

I have an Adobe Air Application that is using LimeLM and Turbo Activate and everything is working great except I want to always be able to get a hold of the product key that was used upon activation so I can pass it along to a remote API as a means of identifying the purchaser.

It seems that I could use GetPKey() for this, but that function fails as it currently looks like it returns a void response and my app won't compile, any help would be greatly appreciated.

Thanks!

All of the Adobe AIR functions are asynchronous -- meaning that the return from the function happens later in a "callback". I wish this wasn't the case, but the Adobe people didn't do a very good job designing their language, so we had to work around their problems.

See step 7 in Using TurboActivate with Adobe AIR. You have to add an event listener for the GET_PKEY event to get the product key.

That worked great, thanks!!!