API Reference
Class
HotpBuilder
Fluent HOTP builder.
Inheritance
- Object
- HotpBuilder
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method Otp.Hotp
- Method HotpBuilder.WithOptions
- Method HotpBuilder.WithParameters
Methods
public String Save(String path, String title = null) #Returns:
StringSaves based on file extension (.png/.webp/.svg/.html/.jpg). Defaults to PNG when no extension is provided.
Parameters
- path System.String
- title System.String = null
SaveHtml 2 overloads
SaveJpeg 2 overloads
SavePng 2 overloads
SaveSvg 2 overloads
SaveWebp 2 overloads
public HotpBuilder WithOptions(Action<QrEasyOptions> configure) #Returns:
HotpBuilderUpdates rendering options.
Parameters
- configure System.Action{CodeGlyphX.QrEasyOptions}
public HotpBuilder WithParameters(OtpAlgorithm algorithm, Int32 digits) #Returns:
HotpBuilderSets algorithm and digits.
Parameters
- algorithm CodeGlyphX.OtpAlgorithm
- digits System.Int32