c#微信公众平台如何获取二维码的信息1
发布网友
发布时间:2023-09-17 10:47
我来回答
共1个回答
热心网友
时间:2024-02-26 08:17
C# code
//引用ThoughtWorks.QRCode.dll
using ThoughtWorks.QRCode.Codec;
using ThoughtWorks.QRCode.Codec.Data;
using ThoughtWorks.QRCode.Codec.Util;
QRCodeDecoder decoder = new QRCodeDecoder();
String decodedString = decoder.decode(new QRCodeBitmapImage(new Bitmap(pb_view.Image)));
txtEncodeData.Text = decodedString;