Пример #1
0
        private string GetURL()
        {
            string URLPath = "";

            if (CSISystemContext == null)
            {
                URLPath = "";
            }
            else
            {
                if (string.IsNullOrEmpty(CSISystemContext.CSIWebServerName))
                {
                    CSIConfiguration.ReadConfigure(CSISystemContext);
                }
                if (string.IsNullOrEmpty(CSISystemContext.CSIWebServerName))
                {
                    URLPath = "";//still is null, return ""
                }
                else
                {
                    URLPath = (CSISystemContext.EnableHTTPS ? HTTPS : HTTP) + CSISystemContext.CSIWebServerName + (CSISystemContext.UseRESTForRequest ? RESTBaseURL : SOAPBaseURL);
                }
            }
            return(URLPath);
        }
Пример #2
0
 public void WriteConfigurations()
 {
     CSIConfiguration.WriteConfigure(this);
 }
Пример #3
0
 public void ReadConfigurations()
 {
     CSIConfiguration.ReadConfigure(this);
 }