Table of Contents

Method SetCredentials

Namespace
BitMiracle.Docotic.Pdf.HtmlToPdf
Assembly
BitMiracle.Docotic.Pdf.HtmlToPdf.dll

SetCredentials(string, string)

Sets the user name and password for HTTP authentication.

public void SetCredentials(string username, string password)

Parameters

username string

The user name to use for HTTP authentication.

password string

The passsword to use for HTTP authentication.

Remarks

Read the Password-protected HTML to PDF conversion section of the Convert HTML to PDF article for an example of using this method.