public static string GetUrl(MyUrls url) { switch (url) { case MyUrls.trayASPURL_Local: return("http://localhost/LocalNiceApi/TrayApp"); case MyUrls.trayASPURL_Debug: return("http://localhost:60257/TrayApp"); case MyUrls.trayASPURL_Live: return("https://NiceApi.net/TrayApp"); case MyUrls.trayASPURL_LiveNoSSL: return("http://NiceApi.net/TrayApp"); } return(null); }
public _3GetData_Server(MyUrls urlToUse) { this.urlToUse = urlToUse; Reset_toASP(); }
public _3GetData_None(MyUrls urlToUse) { this.urlToUse = urlToUse; Reset_toASP(); }