ArcGISCompare.MiscProcs.canDoRelates C# (CSharp) Method

canDoRelates() static private method

static private canDoRelates ( ) : System.Boolean
return System.Boolean
        internal static Boolean canDoRelates()
        {
            Boolean Result = false;

            IAoInitialize theInit;
            ILicenseInformation theLicense;

            theInit = new AoInitializeClass();

            theLicense = (ILicenseInformation)theInit;

            String theProduct = theLicense.GetLicenseProductName(theInit.InitializedProduct());

            if (theProduct == "esriLicenseProductCodeArcEditor" || theProduct == "esriLicenseProductCodeArcInfo") return true;

            return Result;
        }