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 the HTTP authentication.

public void SetCredentials(string username, string password)

Parameters

username string

The user name to use for the HTTP authentication.

password string

The passsword to use for the HTTP authentication.

Remarks

Read the Convert HTML to PDF in C# and VB.NET article for examples of using this method.