You can use qrcodelib from nugetpackage to make qrcode Output Base64:- AR4g2KfZhNis2YjYp9mH2LHZiiDYp9mE2LnYsdio2YoCDzMxMDEyMjM5MzUwMDAwMwMTMjAyMS0xMi0xMCAwMToyNjo0NAQGMjAwLjAwBQYxMjUuMDA= Var tlvVAlue = tagnum.Concat(tagvaluelengths).Concat(tagvalueb).ToArray() Ĭall like this var saudiConvertion = new SaudiConvertion() Var tagvaluelengths = taglengths.Select(s => Byte.Parse(s)).ToArray() Static string gethexstring(Int32 TagNo, string TagValue) String decString = SallerName + VATReg + DateTimeStr + TotalAmt + VatAmt Ĭonsole.WriteLine(HexToBase64(decString)) String DateTimeStr = gethexstring(3, " 15:30:00") //Tage3 String SallerName = gethexstring(1, "Bobs Records") //Tag1 Message value length (L) - 1 Byte fixed sizes of 1 byte (2 digits).Code of the message type (T) - 1 Byte fixed sizes of 1 byte (2 digits).Could anyone please advise and add the proper part to the code, I am a beginner in this field. The attached code is working only if the company name is written in Latin letters but not working properly if the company name is in Arabic.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |