/// <summary> /// Returns a uri from the used server /// </summary> /// <returns></returns> public Uri GetUri(string path) { return(new Uri(Protocol + "://" + ServerDomain.Trim('/') + "/" + path.Trim('/'), UriKind.Absolute)); }
/// <summary> /// Returns a uri from the used server domain and protocol without trailing slash. /// </summary> /// <returns></returns> public Uri GetUri() { return(new Uri(Protocol + "://" + ServerDomain.Trim('/'), UriKind.Absolute)); }