Server Authentication |
ExpertPdf Html To Pdf Converter offers support for several types of server authentication. ExpertPdf supports Integrated Windows Authentication if the NTML provider is used. The current user credentials are used by the converter to authenticate automatically.
The converter can handle IIS authentication like Basic HTTP Authentication. This type of authentication is disabled by default. To enable authentication you have to set the AuthenticationOptions property of the PdfConverter object.
Below you can find sample code for setting the username and password for authentication when converting HTML to PDF:
pdfConverter.AuthenticationOptions.Username = username; pdfConverter.AuthenticationOptions.Password = password;
The properties of ImgConverter class which allow you to handle the authentication when converting HTML to images are: