码迷,mamicode.com
首页 > 其他好文 > 详细

Console ArcEngine许可绑定

时间:2016-06-01 19:32:40      阅读:238      评论:0      收藏:0      [点我收藏+]

标签:

ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);
            IAoInitialize aoInitialize = new AoInitializeClass();
            esriLicenseStatus licenseStatus = aoInitialize.Initialize(esriLicenseProductCode.esriLicenseProductCodeStandard);
            if (licenseStatus != esriLicenseStatus.esriLicenseCheckedOut)
            {
                Console.WriteLine("Unable to check-out an ArcInfo license, error code is {0}", licenseStatus);
                return;
            }

 

Console ArcEngine许可绑定

标签:

原文地址:http://www.cnblogs.com/DayDreamEveryWhere/p/5550774.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!