How do I know if a SharePoint class is WSS or MOSS?
For example, is it possible to use the SPAudit class only in MOSS?
I do this by looking at which DLL the class contains.
For example, most of the SharePoint API functions are located in the Microsoft.SharePoint.dll file (which is WSS). Another example is the Microsoft.SharePoint.Publishing.dll file, which is only MOSS.
The SPAudit class works for both WSS and MOSS, although the user interface is only available in MOSS.
Like JD Said, take a look at the DLL. If your API requires Microsoft.Office. * That is only MOSS.
Look here to discover MOSS using code.