API Reference
Class
TotpBuilder
Fluent TOTP builder.
Inheritance
- Object
- TotpBuilder
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.Totp
- Method TotpBuilder.WithOptions
- Method TotpBuilder.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 TotpBuilder WithOptions(Action<QrEasyOptions> configure) #Returns:
TotpBuilderUpdates rendering options.
Parameters
- configure System.Action{CodeGlyphX.QrEasyOptions}
public TotpBuilder WithParameters(OtpAlgorithm algorithm, Int32 digits, Int32 period) #Returns:
TotpBuilderSets algorithm, digits, and period.
Parameters
- algorithm CodeGlyphX.OtpAlgorithm
- digits System.Int32
- period System.Int32