Added a method to access the APIKeyInfo API.

I found this useful in my app for early accessmask validation, thought I should share.