From d3dde8e6143256010975dc0f8c7c6ab39ea882b2 Mon Sep 17 00:00:00 2001 From: Eugene Fox Date: Tue, 1 Jun 2021 15:46:08 +0300 Subject: [PATCH] Created OTPConfiguration.GetQrImage (markdown) --- OTPConfiguration.GetQrImage.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 OTPConfiguration.GetQrImage.md diff --git a/OTPConfiguration.GetQrImage.md b/OTPConfiguration.GetQrImage.md new file mode 100644 index 0000000..60bd076 --- /dev/null +++ b/OTPConfiguration.GetQrImage.md @@ -0,0 +1,19 @@ +Namespace: `SimpleOTP.Models` + +Assembly: `SimpleOTP.dll` + +Generates QR code image for current configuration with Google Chart API. +```csharp +public async Task GetQrImage(int qrCodeSize = 300, int requestTimeout = 30); +``` +### Parameters +`qrCodeSize` `Int32` + +QR code image size in pixels. + +`requestTimeout` `Int32` + +Web request timeout in seconds. + +### Returns +string-encoded PNG image. \ No newline at end of file