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
usernamestringThe user name to use for HTTP authentication.
passwordstringThe 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.