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); }
public void WriteConfigurations() { CSIConfiguration.WriteConfigure(this); }
public void ReadConfigurations() { CSIConfiguration.ReadConfigure(this); }