<PackageReference Include="Relativity.Server.Import.SDK" Version="2.9.2" />

RelativityInstanceInfo

public sealed class RelativityInstanceInfo
Represents a class object that contains the Relativity instance information. This class cannot be inherited.
using System; using System.Net; namespace Relativity.DataExchange { public sealed class RelativityInstanceInfo { private Uri host; private Uri webApiServiceUrl; public CookieContainer CookieContainer { get; set; } public ICredentials Credentials { get; set; } public Uri Host { get { string text = (host != (Uri)null) ? host.ToString() : null; if (string.IsNullOrEmpty(text) && WebApiServiceUrl != (Uri)null) text = WebApiServiceUrl.GetLeftPart(UriPartial.Authority); if (string.IsNullOrEmpty(text)) return null; text = text.AppendTrailingSlashToUrl(); return new Uri(text); } set { host = value; } } public Uri WebApiServiceUrl { get { string text = (webApiServiceUrl != (Uri)null) ? webApiServiceUrl.ToString() : null; if (string.IsNullOrEmpty(text)) return null; text = text.AppendTrailingSlashToUrl(); return new Uri(text); } set { webApiServiceUrl = value; } } public RelativityInstanceInfo() { CookieContainer = new CookieContainer(); Credentials = null; Host = null; WebApiServiceUrl = null; } } }