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")); }
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")); }