So I noticed a big performance hit when I add the following line to my code:
ESRI.ArcGIS.RuntimeManager.BindLicense(ESRI.ArcGIS.ProductCode.EngineOrDesktop);
I have two separate classes that call the BindLicense method. After the first time it is called, it isn't necessary to call again, but neither class can assume that has happened. What I want to know is if there is a cheaper way of checking if a license exists before attempting to bind?
I feel like I've seen code to do this in Python, but don't know if there is the equivalent in ArcObjects...