public static bool advancedLicense ;

Description

Is the advanced version being used?

Unity is available as Personal or Professional. advancedLicense will return true when running on a Professional version.