<PackageReference Include="Relativity.Server.Transfer.SDK" Version="24000.0.1" />

RelativityConnectionInfo

public sealed class RelativityConnectionInfo
using System; namespace Relativity.Transfer { public sealed class RelativityConnectionInfo { public IHttpCredential Credential { get; set; } public Uri Host { get; set; } [Obsolete("WebAPI support will be removed in upcoming releases. In order to communicate with Relativity use Kepler Services. For more information, see KeplerServiceBase class.")] public IHttpCredential WebApiServiceCredential { get; set; } [Obsolete("WebAPI support will be removed in upcoming releases. In order to communicate with Relativity use Kepler Services. For more information, see KeplerServiceBase class.")] public Uri WebApiServiceUrl { get; set; } public int WorkspaceId { get; set; } public RelativityConnectionInfo() : this(null, null) { } public RelativityConnectionInfo(Uri host, IHttpCredential credential) : this(host, credential, -1) { } public RelativityConnectionInfo(Uri host, IHttpCredential credential, int workspaceId) { Host = host; Credential = credential; WorkspaceId = workspaceId; } [Obsolete("WebAPI support will be removed in upcoming releases. In order to communicate with Relativity use Kepler Services. For more information, see KeplerServiceBase class.")] public RelativityConnectionInfo(Uri host, IHttpCredential credential, int workspaceId, Uri webApiServiceUrl) : this(host, credential, workspaceId, webApiServiceUrl, null) { } [Obsolete("WebAPI support will be removed in upcoming releases. In order to communicate with Relativity use Kepler Services. For more information, see KeplerServiceBase class.")] public RelativityConnectionInfo(Uri host, IHttpCredential credential, int workspaceId, Uri webApiServiceUrl, IHttpCredential webApiServiceCredential) { Host = host; Credential = credential; WebApiServiceCredential = webApiServiceCredential; WebApiServiceUrl = webApiServiceUrl; WorkspaceId = workspaceId; } public RelativityConnectionInfo DeepCopy() { return new RelativityConnectionInfo((Host != (Uri)null) ? new Uri(Host.ToString()) : null, Credential?.DeepCopy(), WorkspaceId, (WebApiServiceUrl != (Uri)null) ? new Uri(WebApiServiceUrl.ToString()) : null, WebApiServiceCredential?.DeepCopy()); } } }