Thursday, December 20, 2007

xInfo API

I just stumbled upon this API as I had a requirement to extract the serial number from the license.

print xInfo::serialNo();

This will get you the serial number, It's handy. Also, it hosts some more static methods like:

buildNo
osName
releaseVersion
productName
licenseName

No comments:

Post a Comment