Search Results for

    Show / Hide Table of Contents

    Class IronPdfConnectionType

    Specifies how IronPDF connects to the rendering engine (IronPdfEngine). Choose based on your deployment architecture.

    Example - Configure connection:

    // Local executable (default):
    Installation.ConnectionType = IronPdfConnectionType.LocalExecutable;
    

    // Docker container: IronPdf.Setting.Connection = IronPdfConnectionConfiguration.Docker;

    // Remote server: IronPdf.Setting.Connection = IronPdfConnectionConfiguration.RemoteServer( "https://my-ironpdf-server.com:33350");

    Inheritance
    System.Object
    IronPdfConnectionType
    Namespace: IronPdf.GrpcLayer
    Assembly: IronPdf.dll
    Syntax
    public sealed class IronPdfConnectionType : Enum
    Remarks

    Deployment Options:

    Related Resources:

    Fields

    CustomChannel

    Uses a custom gRPC channel for advanced networking configurations. Full control over connection parameters, credentials, and interceptors. Best for: Custom authentication, mTLS, corporate proxy environments.

    Declaration
    public const IronPdfConnectionType CustomChannel
    Field Value
    Type Description
    IronPdfConnectionType

    Docker

    Connects to IronPdfEngine running in a Docker container on the same host. Container must be running before PDF operations. Uses hostname "ironpdfengine". Best for: Containerized microservices, Kubernetes deployments.

    Declaration
    public const IronPdfConnectionType Docker
    Field Value
    Type Description
    IronPdfConnectionType

    LocalExecutable

    Connects to IronPdfEngine running as a local executable on the same machine. Default mode - engine binary auto-deploys and manages lifecycle. Best for: Desktop apps, development, single-server deployments.

    Declaration
    public const IronPdfConnectionType LocalExecutable
    Field Value
    Type Description
    IronPdfConnectionType

    RemoteServer

    Connects to IronPdfEngine running on a remote server over the network. Supports HTTPS for secure connections across networks. Best for: Centralized PDF processing, cloud deployments, load balancing.

    Declaration
    public const IronPdfConnectionType RemoteServer
    Field Value
    Type Description
    IronPdfConnectionType

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32

    See Also

    IronPdfConnectionConfiguration
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.