Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.WriteLine("*************************************************\r\n");
            Console.WriteLine("Welcome to Dynamsoft Barcode Reader Demo\r\n");
            Console.WriteLine("*************************************************\r\n");
            Console.WriteLine("Hints: Please input 'Q'or 'q' to quit the application.\r\n");
            bool bExitFlag = false;

            string          strLicenseKeys = "t0068MgAAADaH8yokXmKf3axcV99lMBDDRYEZIsBZ5PPiekmW820HqSR2tQ/VOjuXPvq1FCvla7eS6KmEMUFgHZR9X7GuR2s=";
            DMBarcodeReader tempDMBarcode  = new DMBarcodeReader(strLicenseKeys);

            tempDMBarcode.OnBarcodeRecognized += tempDMBarcode_OnBarcodeRecognized;
            while (true)
            {
                string strImagePath = null;
                bExitFlag = GetImagePath(ref strImagePath);
                if (bExitFlag)
                {
                    break;
                }
                tempDMBarcode.DecodeFile(strImagePath);
            }
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            Console.WriteLine("*************************************************\r\n");
            Console.WriteLine("Welcome to Dynamsoft Barcode Reader Demo\r\n");
            Console.WriteLine("*************************************************\r\n");
            Console.WriteLine("Hints: Please input 'Q'or 'q' to quit the application.\r\n");
            bool bExitFlag = false;

            string          strLicenseKeys = "t0068MgAAAJbpvFwUvsodF81FjWojDo91ZYmDf3+aNdOGPOBOygS6Yte0JFqPMt/DnNMdfGS4gInUd+5RYOCX6IramuO+m4A=";
            DMBarcodeReader tempDMBarcode  = new DMBarcodeReader(strLicenseKeys);

            tempDMBarcode.OnBarcodeRecognized += tempDMBarcode_OnBarcodeRecognized;
            while (true)
            {
                string strImagePath = null;
                bExitFlag = GetImagePath(ref strImagePath);
                if (bExitFlag)
                {
                    break;
                }
                tempDMBarcode.DecodeFile(strImagePath);
            }
        }
Ejemplo n.º 3
0
        static void Main(string[] args)
        {
            Console.WriteLine("*************************************************\r\n");
            Console.WriteLine("Welcome to Dynamsoft Barcode Reader Demo\r\n");
            Console.WriteLine("*************************************************\r\n");
            Console.WriteLine("Hints: Please input 'Q'or 'q' to quit the application.\r\n");
            bool bExitFlag = false;

            string          strLicenseKeys = "t0068MgAAAEUWFzAvIFjWdsOhURov3SljTtFakKFsHemq+2NKnvb5tEihIDmWlZsFpCWpVOnWr1Uw1NzIQ2EcnLj9Hxxvjfs=";
            DMBarcodeReader tempDMBarcode  = new DMBarcodeReader(strLicenseKeys);

            tempDMBarcode.OnBarcodeRecognized += tempDMBarcode_OnBarcodeRecognized;
            while (true)
            {
                string strImagePath = null;
                bExitFlag = GetImagePath(ref strImagePath);
                if (bExitFlag)
                {
                    break;
                }
                tempDMBarcode.DecodeFile(strImagePath);
            }
        }
        static void Main(string[] args)
        {
            Console.WriteLine("*************************************************\r\n");
            Console.WriteLine("Welcome to Dynamsoft Barcode Reader Demo\r\n");
            Console.WriteLine("*************************************************\r\n");
            Console.WriteLine("Hints: Please input 'Q'or 'q' to quit the application.\r\n");
            bool bExitFlag = false;

            string          strLicenseKeys = "t0068MgAAAEBDbYNoTMuh5/ccI24YdlzcggFG93NGuHrF/AWmcbKAsObdABAWC5GvZZpXBlfrsJhkQ1yMO4B8qTUnk6S8HdY=";
            DMBarcodeReader tempDMBarcode  = new DMBarcodeReader(strLicenseKeys);

            tempDMBarcode.OnBarcodeRecognized += tempDMBarcode_OnBarcodeRecognized;
            while (true)
            {
                string strImagePath = null;
                bExitFlag = GetImagePath(ref strImagePath);
                if (bExitFlag)
                {
                    break;
                }
                tempDMBarcode.DecodeFile(strImagePath);
            }
        }