在 IronPDF 中理解 Kerberos
如何讓 UrlToPdf 與 Kerberos 認證一起運作?
請嘗試在渲染設定中設定用戶名和密碼:
https://ironpdf.com/object-reference/api/IronPdf.ChromeHttpLoginCredentials.html
We advise the use ofSystem.Net.HttpClient下載HTML然後再進行渲染。
以下是有關使用 Kerberos 下載頁面的線上指南:
https://stackoverflow.com/questions/56182076/how-does-the-system-net-http-httpclient-select-authentication-type
您可以使用 HTML Agility Pack 解析任何 HTML,並確保下載所有必要的資源。