Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public _3GetData_Server(MyUrls urlToUse)
 {
     this.urlToUse = urlToUse;
     Reset_toASP();
 }
Esempio n. 3
0
 public _3GetData_None(MyUrls urlToUse)
 {
     this.urlToUse = urlToUse;
     Reset_toASP();
 }