Méthode | Description | |
---|---|---|
GetMimeType ( ) : string |
Gets the MIME type of the image.
|
|
GetQrCodeImage ( string text, int size ) : byte[] |
Downloads / retrieves / generates a QR code as image.
|
|
QrServerQrCodeProvider ( ) : System |
Initializes a new instance of a QrServerQrCodeProvider with the default ErrorCorrectionLevel (F:TwoFactorAuthNet.Providers.Qr.ErrorCorrectionLevel.Low), Margin (4), QuietZone (1), BackgroundColor (Color.White), ForegroundColor (Color.Black), QrServerImageFormat">ImageFormat (
|
|
QrServerQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel ) : System |
Initializes a new instance of a QrServerQrCodeProvider with the specified ErrorCorrectionLevel and default Margin (4), QuietZone (1), BackgroundColor (Color.White), ForegroundColor (Color.Black),
|
|
QrServerQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, int margin ) : System |
Initializes a new instance of a QrServerQrCodeProvider with the specified ErrorCorrectionLevel and Margin and default QuietZone (1), BackgroundColor (Color.White), ForegroundColor (Color.Black),
|
|
QrServerQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, int margin, int quietZone ) : System |
Initializes a new instance of a QrServerQrCodeProvider with the specified ErrorCorrectionLevel, Margin and QuietZone and default BackgroundColor (Color.White), ForegroundColor (Color.Black),
|
|
QrServerQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, int margin, int quietZone, Color backgroundColor ) : System |
Initializes a new instance of a QrServerQrCodeProvider with the specified ErrorCorrectionLevel, Margin, QuietZone and BackgroundColor and default ForegroundColor (Color.Black), QrServerImageFormat">ImageFormat (
|
|
QrServerQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, int margin, int quietZone, Color backgroundColor, Color foregroundColor ) : System |
Initializes a new instance of a QrServerQrCodeProvider with the specified ErrorCorrectionLevel, Margin, QuietZone, BackgroundColor and ForegroundColor and default QrServerImageFormat">ImageFormat (
|
|
QrServerQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, int margin, int quietZone, Color backgroundColor, Color foregroundColor, QrServerImageFormat imageFormat ) : System |
Initializes a new instance of a QrServerQrCodeProvider with the specified ErrorCorrectionLevel, Margin, QuietZone, BackgroundColor, ForegroundColor,
|
|
QrServerQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, int margin, int quietZone, Color backgroundColor, Color foregroundColor, QrServerImageFormat imageFormat, RemoteCertificateValidationCallback remoteCertificateValidationCallback ) : System |
Initializes a new instance of a QrServerQrCodeProvider with the specified ErrorCorrectionLevel, Margin, QuietZone, BackgroundColor, ForegroundColor, QrServerImageFormat">ImageFormat and |
Méthode | 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. |
Résultat | byte[] |
public QrServerQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel ) : System | ||
errorCorrectionLevel | ErrorCorrectionLevel | The |
Résultat | System |
public QrServerQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, int margin ) : System | ||
errorCorrectionLevel | ErrorCorrectionLevel | The |
margin | int | The |
Résultat | System |
public QrServerQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, int margin, int quietZone ) : System | ||
errorCorrectionLevel | ErrorCorrectionLevel | The |
margin | int | The |
quietZone | int | The |
Résultat | System |
public QrServerQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, int margin, int quietZone, Color backgroundColor ) : System | ||
errorCorrectionLevel | ErrorCorrectionLevel | The |
margin | int | The |
quietZone | int | The |
backgroundColor | Color | The background color to be used for the QR code. |
Résultat | System |
public QrServerQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, int margin, int quietZone, Color backgroundColor, Color foregroundColor ) : System | ||
errorCorrectionLevel | ErrorCorrectionLevel | The |
margin | int | The |
quietZone | int | 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. |
Résultat | System |
public QrServerQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, int margin, int quietZone, Color backgroundColor, Color foregroundColor, QrServerImageFormat imageFormat ) : System | ||
errorCorrectionLevel | ErrorCorrectionLevel | The |
margin | int | The |
quietZone | int | 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 | QrServerImageFormat | The |
Résultat | System |
public QrServerQrCodeProvider ( ErrorCorrectionLevel errorCorrectionLevel, int margin, int quietZone, Color backgroundColor, Color foregroundColor, QrServerImageFormat imageFormat, RemoteCertificateValidationCallback remoteCertificateValidationCallback ) : System | ||
errorCorrectionLevel | ErrorCorrectionLevel | The |
margin | int | The |
quietZone | int | 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 | QrServerImageFormat | The |
remoteCertificateValidationCallback | RemoteCertificateValidationCallback |
/// The |
Résultat | System |