Example #1
0
        public string GetCurrentVersion(string model)
        {
            string url            = "https://portal-ca.sbe-ltd.ca/screening_new/device_info/actions.php";
            string currentVersion = CallToPHP.GetPost(url, "get_current_version", "1", "model", model);

            return(currentVersion);
        }
        /// <summary>
        /// Calls to an php endpoint and it returns Codepro of product
        /// </summary>
        /// <param name="Model">ModelNumber property of device</param>
        /// <returns></returns>
        public static string GetCodePro(string Model)
        {
            string endPoint = "https://portal-ca.sbe-ltd.ca/SBE_Applications/actions.php";

            return(CallToPHP.GetPost(endPoint, "get_apple-codepro", "1", "model", Model));
        }