System.ComponentModel.LicenseManager.Validate C# (CSharp) Method

Validate() public static method

Determines if a license can be granted for the instance of the specified type.

public static Validate ( Type type, object instance ) : System.ComponentModel.License
type Type
instance object
return System.ComponentModel.License
        public static License Validate(Type type, object instance)
        {
            License lic;

            if (!ValidateInternal(type, instance, true, out lic))
            {
                throw new LicenseException(type, instance);
            }

            return lic;
        }

Same methods

LicenseManager::Validate ( Type type ) : void