Determines if a license can be granted for the specified type.
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; } }