private static string ResolveServerURL(ServerURLType urlType) { if (urlType == ServerURLType.HTTPS) { return("http://" + _domainName + ":" + _httpPort); } else { return("http://" + _domainName + ":" + _httpPort); } }
/// <summary> /// Returns a server URL based on the provided parameters /// </summary> /// <param name="urlType"></param> /// <param name="marketProfile"></param> /// <returns>string</returns> public static string GetServerURL(ServerURLType urlType) { return(ResolveServerURL(urlType)); }