Display product key in my app

We are building a C++ app and we would like to be able to display the activation product key within the app interface. How can we retrieve the product key that was used to activate the app?

Use the "GetPKey()" function.