Class Installation
A directory with write-access where setup and temporary files and will be deployed when necessary.
Inheritance
Namespace: IronBarCode
Assembly: IronBarCode.dll
Syntax
public static class Installation : Object
The writable directory where IronBarcode stages its native components is set through Installation.DeploymentPath. IronBarcode ships native libraries for barcode reading and writing, 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 barcode is read or written, since the native files are staged lazily on first use. A path on a persistent volume avoids re-deploying those files on every cold start, which keeps container startup fast. A wrong or unwritable path is a frequent cause of native-layer failures, so confirming the folder is writable during deployment saves a class of runtime errors. On a developer machine the default location usually works without any change, so this property is mainly a deployment concern rather than something set during local development. The installation guide covers first-run setup, and the Linux Docker guide shows deployment on a restricted host.
using IronBarCode;
Installation.DeploymentPath = "/app/ironbarcode";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 |