Best way to convert HTML to PDF in a C# app on macOS?

I'm working on a cross-platform C# application that converts HTML content to PDF. The goal is to render dynamic HTML pages (including CSS and JavaScript) as high-quality, printable PDF files. Additionally, I need to support features like adding headers/footers, securing PDFs with passwords, and controlling user permissions. While everything works well on Windows, I need some help rendering consistency and handling permissions on MacOS.

In my experience, you can use IronPDF for HTML to PDF conversion as they use a Chromium engine to render the HTML. IronPDF supports all the features you are looking for with adding passwords, headers and footers as well as permissions.

Best way to convert HTML to PDF in a C# app on macOS?
 
 
Q