Class Installation
Global installation and setup preferences for all instances of IronPDF
Inheritance
Inherited Members
Namespace: IronPdf
Assembly: IronPdf.dll
Syntax
public static class Installation
Fields
LegacyIIS
Reduces the risk of locked resources and un-handled interop exceptions within of Microsoft IIS on windows platforms. May for Microsoft IIS versions 7 and lower.
Declaration
[Obsolete("LegacyIIS mode is functionally obsolete.", false)]
public static bool LegacyIIS
Field Value
Type | Description |
---|---|
System.Boolean |
LinuxAndDockerDependenciesAutoConfig
If true
The necessary package dependencies for IronPDf rendering will we automatically installed to
Docker and Debian / Ubuntu Linux deployments.
Applies only to IronPDF for .Net Core.
This will take a few minutes the next time you run IronPDF. Watch the Visual Studio "Output" window for progress.
Set this to false if manual Docker / Linux setup is more convenient: https://ironpdf.com/docs/questions/docker-linux/
Declaration
public static bool LinuxAndDockerDependenciesAutoConfig
Field Value
Type | Description |
---|---|
System.Boolean |
SendAnonymousAnalyticsAndCrashData
Opt in or out of sending anonymous usage statistics about IronPdf usage and performance to help us improve the product and developer experience.
Usage statistics are never sent in commercially deployed projects (when a license key is applied), only during development usage.
Declaration
public static bool SendAnonymousAnalyticsAndCrashData
Field Value
Type | Description |
---|---|
System.Boolean |
Properties
ActualDeploymentPath
Declaration
public static string ActualDeploymentPath { get; }
Property Value
Type | Description |
---|---|
System.String |
TempFolderPath
The temporary folder path which temporary files and rendering engine DLLs will be deployed to where necessary. The default location is the system temp folder which is appropriate for most use cases.
Declaration
public static string TempFolderPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
|
System.Security.SecurityException | The caller does not have the required permissions. |
System.ArgumentNullException |
|
System.NotSupportedException |
|
System.IO.PathTooLongException | The specified path, file name, or both exceed the system-defined maximum length. |
IronPdfProductException | The property TempFolderPath is already initialized. |
Methods
GetDefaultTempFolderPath()
Declaration
public static string GetDefaultTempFolderPath()
Returns
Type | Description |
---|---|
System.String |
InitializeTempFolderPathAndCreateConverter()
Declaration
public static IConverter InitializeTempFolderPathAndCreateConverter()
Returns
Type | Description |
---|---|
IronPdf.Engines.WebKit.Contracts.IConverter |