Search Results for

    Show / Hide Table of Contents

    Class IronOcrLicensingException

    Represents errors that occur during IronOCR execution due to the library not being appropriately licensed.

    https://ironsoftware.com/csharp/ocr/licensing/

    Inheritance
    System.Object
    IronOcrProductException
    IronOcrLicensingException
    Namespace: IronOcr.Exceptions
    Assembly: IronOcr.dll
    Syntax
    public class IronOcrLicensingException : IronOcrProductException

    When IronOCR runs without a valid license, it throws IronOcrLicensingException. Set a correct License.LicenseKey before any OCR call, and verify the key matches your product and has not expired. As a subtype of IronOcrProductException, it is also caught by a handler on that base type. See the IronOCR licensing page for keys and activation.

    Constructors

    IronOcrLicensingException()

    Initializes a new instance of the IronOcrLicensingException class.

    Declaration
    public IronOcrLicensingException()

    IronOcrLicensingException(String)

    Initializes a new instance of the IronOcrLicensingException class with a specified error message.

    Declaration
    public IronOcrLicensingException(string message)
    Parameters
    Type Name Description
    System.String message

    The message that describes the error.

    IronOcrLicensingException(String, Exception)

    Initializes a new instance of the IronOcrLicensingException class with a specified error message and a reference to the inner exception that is the cause of this exception.

    Declaration
    public IronOcrLicensingException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.String message

    The error message that explains the reason for the exception.

    System.Exception innerException

    The exception that is the cause of the current exception, or a null reference (langword_csharp_Nothing in Visual Basic) if no inner exception is specified.

    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget