Exemplo n.º 1
0
 private static string ResolveServerURL(ServerURLType urlType)
 {
     if (urlType == ServerURLType.HTTPS)
     {
         return("http://" + _domainName + ":" + _httpPort);
     }
     else
     {
         return("http://" + _domainName + ":" + _httpPort);
     }
 }
Exemplo n.º 2
0
 /// <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));
 }