Hi. I found that the QR Code will have different scan result when scan by different android phone. It's working properly when scan by Samsung Galaxy A34 but Oppo A76 will give other result.
Expected scanned result is
https://mydomain.com/auth/70011/11225018/TS1508189SB6A/
Below is my code
Dim img_qrcode As System.Web.UI.WebControls.Image = CType(e.Row.FindControl("img_qrcode"), System.Web.UI.WebControls.Image)
Dim code As String = "https://mydomain.com/auth/70011/11225018/TS1508189SB6A/"
Dim qrGenerator As New QRCodeGenerator()
Dim qrCode As QRCodeGenerator.QRCode = qrGenerator.CreateQrCode(code, QRCodeGenerator.ECCLevel.Q)
Dim imgBarCode As New System.Web.UI.WebControls.Image()
imgBarCode.Height = 150
imgBarCode.Width = 150
Using bitMap As Bitmap = qrCode.GetGraphic(20)
Using ms As New MemoryStream()
bitMap.Save(ms, System.Drawing.Imaging.ImageFormat.Png)
Dim byteImage As Byte() = ms.ToArray()
End Using
End Using