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
stringThe user name to use for the HTTP authentication.
password
stringThe 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.