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