-
-
Sevalla
Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
-
maui-barcode-mrz-document-scanner
Scan barcode, document and MRZ with Dynamsoft Capture Vision SDKs and .NET MAUI
private string GenerateRandomContent(BarcodeFormat format) { Random rnd = new Random(); switch (format) { case BarcodeFormat.EAN_13: int part1 = rnd.Next(10, 99); int part2 = rnd.Next(100000000, 999999999); int part3 = rnd.Next(0, 9); return $"{part1}{part2}{part3}"; case BarcodeFormat.EAN_8: return rnd.Next(1000000, 9999999).ToString(); case BarcodeFormat.CODE_39: case BarcodeFormat.CODE_128: case BarcodeFormat.CODABAR: return "ZX" + rnd.Next(100000, 999999); case BarcodeFormat.QR_CODE: return "https://www.dynamsoft.com?id=" + rnd.Next(1000, 9999); case BarcodeFormat.UPC_A: return rnd.NextInt64(10000000000L, 99999999999L).ToString(); case BarcodeFormat.ITF: return rnd.Next(100000000, 999999999).ToString(); default: return "TEST" + rnd.Next(1000, 9999); } }
Related posts
-
How to Build a Web Barcode Scanner App with HTML5 and JavaScript
-
How to Build a Web MRZ Scanner and Reader with HTML5 and JavaScript
-
Developing a Web MRZ and VIN Scanner with JavaScript and HTML5
-
Customizing Dynamsoft Android Barcode Scanner API to Filter and Select Desired Results
-
How to Integrate a Barcode Scanner Component into iOS Apps in Minutes