Table of Contents

Class AuthenticationOptions

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

The options for the optional HTTP authentication part of an HTML to PDF conversion.

public class AuthenticationOptions
Inheritance
AuthenticationOptions
Inherited Members

Remarks

Use these options to convert HTML pages protected by a username/password pair. Read more in the Password-protected HTML to PDF conversion section of the Convert HTML to PDF in C# and VB.NET article.

Check out the other articles and code samples on the HTML to PDF features page.

Constructors

AuthenticationOptions()

Initializes a new instance of the AuthenticationOptions class.

Properties

Password

Gets the password to use for the HTTP authentication.

Username

Gets the user name to use for the HTTP authentication.

Methods

SetAuthenticationNotNeeded()

Discards any existing credentials so that conversion won't try to authenticate before loading an HTML page.

SetCredentials(string, string)

Sets the user name and password for the HTTP authentication.