Method | Description | |
---|---|---|
GetMimeType ( ) : string |
Gets the MIME type of the image.
|
|
GetQrCodeImage ( string text, int size ) : byte[] |
Downloads / retrieves / generates a QR code as image.
|
|
QRicketQrCodeProvider ( ) : System |
Initializes a new instance of a QRicketQrCodeProvider with the default ErrorCorrectionLevel (F:TwoFactorAuthNet.Providers.Qr.ErrorCorrectionLevel.Low), BackgroundColor (Color.White), ForegroundColor (Color.Black),
|
|
QRicketQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel ) : System |
Initializes a new instance of a QRicketQrCodeProvider with the specified ErrorCorrectionLevel and default BackgroundColor (Color.White), ForegroundColor (Color.Black),
|
|
QRicketQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, Color backgroundColor ) : System |
Initializes a new instance of a QRicketQrCodeProvider with the specified ErrorCorrectionLevel, BackgroundColor and default ForegroundColor (Color.Black),
|
|
QRicketQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, Color backgroundColor, Color foregroundColor ) : System |
Initializes a new instance of a QRicketQrCodeProvider with the specified ErrorCorrectionLevel, BackgroundColor, ForegroundColor and default QRicketImageFormat">ImageFormat (
|
|
QRicketQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, Color backgroundColor, Color foregroundColor, QRicketImageFormat imageFormat ) : System |
Initializes a new instance of a QRicketQrCodeProvider with the specified ErrorCorrectionLevel, BackgroundColor, ForegroundColor,
|
|
QRicketQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, Color backgroundColor, Color foregroundColor, QRicketImageFormat imageFormat, RemoteCertificateValidationCallback remoteCertificateValidationCallback ) : System |
Initializes a new instance of a QRicketQrCodeProvider with the specified ErrorCorrectionLevel, BackgroundColor, ForegroundColor, QRicketImageFormat">ImageFormat and |
Method | Description | |
---|---|---|
GetUri ( string qrText, int size ) : |
Builds an Uri based on the instance's BaseHttpQrCodeProvider.BaseUri.
|
public GetQrCodeImage ( string text, int size ) : byte[] | ||
text | string | The text to encode in the QR code. |
size | int | The desired size (width and height equal) for the image. |
return | byte[] |
public QRicketQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel ) : System | ||
errorCorrectionLevel | ErrorCorrectionLevel | The |
return | System |
public QRicketQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, Color backgroundColor ) : System | ||
errorCorrectionLevel | ErrorCorrectionLevel | The |
backgroundColor | Color | The background color to be used for the QR code. |
return | System |
public QRicketQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, Color backgroundColor, Color foregroundColor ) : System | ||
errorCorrectionLevel | ErrorCorrectionLevel | The |
backgroundColor | Color | The background color to be used for the QR code. |
foregroundColor | Color | The foreground color to be used for the QR code. |
return | System |
public QRicketQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, Color backgroundColor, Color foregroundColor, QRicketImageFormat imageFormat ) : System | ||
errorCorrectionLevel | ErrorCorrectionLevel | The |
backgroundColor | Color | The background color to be used for the QR code. |
foregroundColor | Color | The foreground color to be used for the QR code. |
imageFormat | QRicketImageFormat | The |
return | System |
public QRicketQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, Color backgroundColor, Color foregroundColor, QRicketImageFormat imageFormat, RemoteCertificateValidationCallback remoteCertificateValidationCallback ) : System | ||
errorCorrectionLevel | ErrorCorrectionLevel | The |
backgroundColor | Color | The background color to be used for the QR code. |
foregroundColor | Color | The foreground color to be used for the QR code. |
imageFormat | QRicketImageFormat | The |
remoteCertificateValidationCallback | RemoteCertificateValidationCallback |
/// The |
return | System |