Esempio n. 1
0
        public static string ProductLatestVersion(int productId)
        {
            string r = "";

            if (WebsiteLive)
            {
                try
                {
                    r           = Wsa.ProductLatestVersionGet(productId);
                    WebsiteLive = true;
                }
                catch (Exception ex)
                {
                    Log.Error("", ex);//MainForm.LogExceptionToFile(ex);
                    WebsiteLive = false;
                }
                if (WebsiteLive)
                {
                    return(r);
                }
            }
            return(LocRm.GetString("iSpyDown"));
        }
Esempio n. 2
0
        public static string ProductLatestVersion(int productId)
        {
            string r = "";

            if (WebsiteLive)
            {
                try
                {
                    Debug.WriteLine("WEBSERVICE CALL: ProductLatestVersionGet");
                    r           = Wsa.ProductLatestVersionGet(productId);
                    WebsiteLive = true;
                }
                catch (Exception ex)
                {
                    MainForm.LogExceptionToFile(ex);
                    WebsiteLive = false;
                }
                if (WebsiteLive)
                {
                    return(r);
                }
            }
            return(LocRm.GetString("iSpyDown"));
        }