Have you ever had a need to explore whats the expiration date of the trial version of MOSS you are using, if yes then the solution for that is the INTERNAL STATIC CLASS: Microsoft.Office.Server.Administration.Licensing This will help you in finding out what is the expiration date and other details about licensing, check the Fiddler screen shot below for some details.

Licensing Microsoft Sharepoint

http://www.flickr.com/photos/43203883@N00/3815256542/sizes/o/