bool isCorporate = howDoYouGetPlatfromType() ? ;

I added a feature to my Management Plug-in, that should only run if using Corporate. How do set a bool variable called ‘isCorporate’?

to clarify, we are trying to determine whether the plug-in is being executed in the corporate architecture (management client), or non-corporate architecture (management application).

EnvironmentManager.Instance.MasterSite.ServerId will be either ServerId.CorporateManagementServerType (Management Client) or ServerId.EnterpriseServerType (Management Application).