Search Results for

    Show / Hide Table of Contents

    Class Installation

    A directory with write-access where setup and temporary files and will be deployed when necessary.

    Inheritance
    System.Object
    Installation
    Namespace: IronQr
    Assembly: IronQr.dll
    Syntax
    public static class Installation : Object

    The writable directory where IronQR stages its setup and temporary files is set through Installation.DeploymentPath. IronQR ships native components for QR detection, and on first use it deploys them to a working folder. When the default location is not writable, which is common in containers, locked-down servers, and some hosting environments, point DeploymentPath at a folder the process can write to.

    Set it once at application startup, before the first read or write, since the files are staged lazily on first use. A path on a persistent volume avoids re-deploying the native files on every cold start. A wrong or unwritable path is a frequent cause of native-layer failures, which surface as an IronQrNativeException. On a developer machine the default location usually works, so this property is mainly a deployment concern rather than something set during local development.

    Installation.DeploymentPath = "/app/ironqr";

    The get started guide covers first-run setup, and the AWS guide shows deployment on a restricted host.

    Properties

    DeploymentPath

    A directory with write-access where setup and temporary files and will be deployed when necessary. The default location is the system temp folder which is appropriate for most use cases

    Declaration
    public static string DeploymentPath { get; set; }
    Property Value
    Type Description
    System.String
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with NuGet