Search Results for

    Show / Hide Table of Contents

    Class ChromeHttpLoginCredentials

    Provides credentials for IronPdf's embedded Chrome browser to log-in to an intranet, extranet or website, impersonating a user. This allows a unique ability to render web-pages as PDFs even on secure intranets, extranets and websites.

    Inheritance
    System.Object
    ChromeHttpLoginCredentials
    Namespace: IronPdf
    Assembly: IronPdf.dll
    Syntax
    public class ChromeHttpLoginCredentials : Object

    ChromeHttpLoginCredentials is what IronPDF C# code uses for PDF generation. It represents credentials for IronPdf's embedded Chrome browser to log-in to an intranet, extranet or website, impersonating a user.

    ChromeHttpLoginCredentials matters when an application needs to configure or invoke PDF generation from C# code. The class encapsulates the related options and behavior in a single object that is set up once and reused across render or processing calls. Typical scenarios include batch generation pipelines, templated document workflows, and integration with existing C# document services.

    To use ChromeHttpLoginCredentials, instantiate or obtain it from the relevant entry point in the IronPDF C# API. Key properties include NetworkPassword, NetworkUsername. Assign options or invoke methods on the instance to configure or perform the operation. The add copy delete pages PDF covers typical usage in C# end to end.

    using IronPdf;
    
    var instance = new ChromeHttpLoginCredentials();
    var current = instance.NetworkPassword;
    // Read or assign other properties such as NetworkUsername, NetworkPassword
    instance.Finalize();

    For the broader workflow, see the add images to pdfs guide in the IronPDF C# documentation. For broader context, the PDF generation portion of the IronPDF C# API contains related types that work with ChromeHttpLoginCredentials directly. ChromeHttpLoginCredentials exposes additional members beyond those highlighted above; the reference tables on this page list the full set. In application code, treat ChromeHttpLoginCredentials as a configured object that is constructed once and reused across operations rather than instantiated per call. Configuration is generally idempotent: assigning the same property value twice has the same effect as assigning it once. For diagnostic purposes, inspect the relevant ChromeHttpLoginCredentials property after each operation to confirm the configured state. See the constructors, properties, and methods tables below for the complete API surface of ChromeHttpLoginCredentials.

    Constructors

    ChromeHttpLoginCredentials()

    Declaration
    public ChromeHttpLoginCredentials()

    Properties

    NetworkPassword

    Optional: Password credential for Windows / Linux network security authentication.

    Declaration
    public string NetworkPassword { get; set; }
    Property Value
    Type Description
    System.String

    NetworkUsername

    Optional: User-name credential for Windows / Linux network security authentication.

    Declaration
    public string NetworkUsername { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    Finalize()

    Destructor cleans up all temporary cookies files for the HttpLoginCredentials instance.

    Declaration
    protected override void Finalize()
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget