How to Use Cookies with IronPDF for Secure PDF Generation in C# Curtis Chau Updated:August 19, 2025 Download IronPDF NuGet Download DLL Download Windows Installer Start Free Trial Copy for LLMs Copy for LLMs Copy page as Markdown for LLMs Open in ChatGPT Ask ChatGPT about this page Open in Gemini Ask Gemini about this page Open in Grok Ask Grok about this page Open in Perplexity Ask Perplexity about this page Share Share on Facebook Share on X (Twitter) Share on LinkedIn Copy URL Email article Unlock the power of secure PDF generation in your C# applications by watching our step-by-step tutorial on using cookies with IronPDF, and transform how you manage authentication and session data effortlessly. more... In this tutorial, we explore the process of using cookies with IronPDF for secure PDF generation in C# applications. The video guides viewers through setting up an ASP.NET Core application with a protected invoice page, which requires network login authentication. Viewers learn how to utilize IronPDF to convert this page into a PDF document, using cookies to maintain session-specific information.Starting with the installation of the IronPDF NuGet package, the tutorial walks through importing necessary namespaces and setting up the Chrome renderer class. By configuring the global request context property to include cookies, the tutorial ensures the preservation of session data during rendering. Detailed instructions on defining login credentials, applying cookies, and rendering the page as a PDF are provided.The video also demonstrates how to manually set custom cookies and save the final PDF document to a specified path. By following these steps, developers can efficiently convert HTML pages to PDFs while securely managing authentication and session data. The tutorial concludes by encouraging viewers to sign up for a trial of IronPDF to explore its capabilities firsthand.
Published September 23, 2025 How to Generate PDF Files in VB .NET Library | IronPDF Discover how to create and edit PDFs seamlessly in VB.NET using IronPDF. This video guides you through converting HTML, URLs, or strings into professional PDFs, with comprehensive support for CSS and JavaScript. Enhance your document management skills by learning these essential techniques. Read More
Published September 22, 2025 How to Export a PDF in C# | IronPDF This video tutorial provides a step-by-step guide on using IronPDF to convert HTML content into PDF files in C#. Learn to easily save PDFs to disk, memory, or send them directly, enhancing your document handling capabilities. Read More
Updated September 22, 2025 How to Generate a PDF from a Template in C# | IronPDF Discover how to transform dynamic HTML content into PDFs using IronPDF in C#. This video provides a comprehensive guide on generating high-quality PDFs from HTML templates, ensuring efficient and seamless conversion for your development needs. Read More
Updated September 22, 2025 How to Set Custom Paper Sizes for PDFs Using C# | IronPDF Discover how to render PDFs with custom paper sizes using C# and IronPDF. This video guides you through generating PDFs that fit non-standard templates, ideal for creating personalized documents such as invitations, posters, or custom reports. Enhance your document creation process with ease. Read More
Updated August 19, 2025 Render WebGL Content in PDFs with IronPDF Learn how to seamlessly render WebGL visuals into PDFs using IronPDF in C# Read More
Updated August 19, 2025 How to Redact Text and Regions in PDF using C# Discover how to securely redact sensitive information from PDF documents using C# and IronPDF in this comprehensive tutorial. Read More
All your questions are answered to make sure you have all the information you need. (No commitment whatsoever.)