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

Validate() public static method

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

public static Validate ( Type type ) : void
type Type
return void
        public static void Validate(Type type)
        {
            License lic;

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

            if (lic != null)
            {
                lic.Dispose();
                lic = null;
            }
        }

Same methods

LicenseManager::Validate ( Type type, object instance ) : System.ComponentModel.License