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

IsValid() public static method

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

public static IsValid ( Type type ) : bool
type Type
return bool
        public static bool IsValid(Type type)
        {
            Debug.Assert(type != null, "IsValid Type cannot ever be null");
            License license;
            bool value = ValidateInternal(type, null, false, out license);
            if (license != null)
            {
                license.Dispose();
                license = null;
            }
            return value;
        }

Same methods

LicenseManager::IsValid ( Type type, object instance, System.ComponentModel.License &license ) : bool