I have an ArcGIS 10.2.2 Advanced License installed. I have Visual Studio 2015 installed. When I open my form I assign.
public frmMain()
{
// this must be the first object created
try
{
ESRI.ArcGIS.RuntimeManager.BindLicense(ESRI.ArcGIS.ProductCode.Desktop);
init = new AoInitializeClass();
init.Initialize(esriLicenseProductCode.esriLicenseProductCodeAdvanced);
}
catch (Exception)
{
MessageBox.Show("Unable to obtain license. Application will be shut down.");
Environment.Exit(1);
}
InitializeComponent();
}
However when I check for the license name, I get a Basic license.
ArcGIS 10.2.2 was installed when I inherited the computer, and I installed Visual Studio 2015 C#.
Would anyone have any idea on why my advanced license would show as a Basic license in C#?