/// <summary>
        /// Build URI for the recognition of image from URL
        /// </summary>
        /// <param name="url">URL of the image</param>
        /// <param name="readType">barcode read type</param>
        /// <returns>URI of Saaspose URL image recognition</returns>
        private string UriBuilderForURLImage(string url, BarCodeReadType readType)
        {
            // Initialize with server URI, text and type, which are must
            string uri = Saaspose.Common.Product.BaseProductUri + "/barcode/";

            uri += "recognize?";

            // First parameter. Add barcode type to be recognized
            // If AllSupportedTypes is selected, set blank, otherwise, send the ToString()
            if (readType == BarCodeReadType.AllSupportedTypes)
            {
                uri += "type=";
            }
            else
            {
                uri += "type=" + readType.ToString();
            }

            // Add URL parameter
            if (url != null && url.Trim().Length > 0)
            {
                uri += "&url=" + url;
            }

            // return the URI
            return(uri);
        }
        private string UriBuilder(string remoteImage, string remoteFolder, BarCodeReadType readType)
        {
            // Initialize with server URI, text and type, which are must
            string uri = Saaspose.Common.Product.BaseProductUri + "/barcode/";

            // remoteImage is the name of image on Saaspose server
            if (remoteImage != null && remoteImage.Trim().Length > 0)
            {
                uri += remoteImage + "/";
            }
            uri += "recognize?";

            // First parameter. Add barcode type to be recognized
            // If AllSupportedTypes is selected, set blank, otherwise, send the ToString()
            if (readType == BarCodeReadType.AllSupportedTypes)
            {
                uri += "type=";
            }
            else
            {
                uri += "type=" + readType.ToString();
            }

            // Add remote folder parameter
            if (remoteFolder != null && remoteFolder.Trim().Length > 0)
            {
                uri += "&format=" + remoteFolder;
            }

            // Add folder parameter
            if (remoteFolder != null && remoteFolder.Trim().Length > 0)
            {
                uri += "&folder=" + remoteFolder;
            }

            // return the URI
            return(uri);
        }
        /// <summary>
        /// Build URI for the recognition of image from URL
        /// </summary>
        /// <param name="url">URL of the image</param>
        /// <param name="readType">barcode read type</param>
        /// <returns>URI of Saaspose URL image recognition</returns>
        private string UriBuilderForURLImage(string url, BarCodeReadType readType)
        {
            // Initialize with server URI, text and type, which are must
            string uri = Aspose.Cloud.Common.Product.BaseProductUri + "/barcode/";
            uri += "recognize?";

            // First parameter. Add barcode type to be recognized
            // If AllSupportedTypes is selected, set blank, otherwise, send the ToString()
            if (readType == BarCodeReadType.AllSupportedTypes)
                uri += "type=";
            else
                uri += "type=" + readType.ToString();

            // Add URL parameter
            if (url != null && url.Trim().Length > 0)
                uri += "&url=" + url;

            // return the URI
            return uri;
        }
        private string UriBuilder(string remoteImage, string remoteFolder, BarCodeReadType readType)
        {
            // Initialize with server URI, text and type, which are must
            string uri = Aspose.Cloud.Common.Product.BaseProductUri + "/barcode/";
            // remoteImage is the name of image on Saaspose server
            if (remoteImage != null && remoteImage.Trim().Length > 0)
                uri += remoteImage + "/";
            uri += "recognize?";

            // First parameter. Add barcode type to be recognized
            // If AllSupportedTypes is selected, set blank, otherwise, send the ToString()
            if (readType == BarCodeReadType.AllSupportedTypes)
                uri += "type=";
            else
                uri += "type=" + readType.ToString();

            // Add remote folder parameter
            if (remoteFolder != null && remoteFolder.Trim().Length > 0)
                uri += "&format=" + remoteFolder;

            // Add folder parameter
            if (remoteFolder != null && remoteFolder.Trim().Length > 0)
                uri += "&folder=" + remoteFolder;

            // return the URI
            return uri;
        }