Solution: IIS Aspx Implementation encoding QRCode #495
Replies: 1 comment
-
ASPX Code, Used on IIS, copied zxing.dll/zxing.pdb/zxing.XML into your iis application bin folder. Usage: http://localhost/QRDotNet.aspx?BARCODETEXT <%@ Page language="vb" debug=true %> <%@ Import NameSpace = "System.Drawing" %> <%' Used for Crystal Reports Image QR Code trick '-----------------------------------------------' Dim hash = Page.Request.QueryString.ToString() Response.ContentType = "image/png" Dim ZX As New ZXing.BarcodeWriter options = New ZXing.QrCode.QrCodeEncodingOptions Zx.Format = ZXing.BarcodeFormat.QR_CODE bmp = Zx.Write(hash) Response.BufferOutput = true '-----------------------------------------------' |
Beta Was this translation helpful? Give feedback.
-
Ideally implement functionality similar to:
https://zxing.org/w/chart?cht=qr&chs=120x120&chld=L&choe=UTF-8&chl=TEST%24TEST%25TEST
Beta Was this translation helpful? Give feedback.
All reactions