public object GetQR() { AccessToken accessToken = new AccessToken("wx29f3bc26447a5652", "2772c2e64cee873e47b906120680379e"); var result = accessToken.GetResult(); if (result.errcode == 0) { QRCode qrcode = new QRCode(); string picInfo = qrcode.Create(result.access_token, "123"); } return(result); }