<PackageReference Include="Relativity.Transfer.Client" Version="7.1.29" />

FileShareResourceServer

public sealed class FileShareResourceServer
using Relativity.Transfer.Resources; using System; using System.Globalization; namespace Relativity.Transfer { public sealed class FileShareResourceServer { public int ArtifactId { get; set; } public AsperaCredential AsperaCredential { get; set; } public bool CloudInstance { get; set; } public string Name { get; set; } public ResourcePool ResourcePool { get; set; } public ResourceServerType ResourceServerType { get; set; } public string UncPath { get; set; } public FileShareResourceServer() { ArtifactId = 0; AsperaCredential = null; CloudInstance = false; Name = null; ResourcePool = null; ResourceServerType = null; UncPath = null; } public FileShareResourceServer(int artifactId, AsperaCredential credential, string name, ResourceServerType serverType, string uncPath, bool cloudInstance) : this(artifactId, credential, name, serverType, uncPath, cloudInstance, null) { } public FileShareResourceServer(int artifactId, AsperaCredential credential, string name, ResourceServerType serverType, string uncPath, bool cloudInstance, ResourcePool pool) { if (artifactId < 1) { string message = string.Format(CultureInfo.CurrentCulture, CoreStrings.ArtifactOutOfRangeExceptionMessage, "File Share Resource Server"); throw new ArgumentOutOfRangeException("artifactId", message); } if (string.IsNullOrEmpty(name)) throw new ArgumentNullException("name"); if (serverType == null) throw new ArgumentNullException("serverType"); if (string.IsNullOrEmpty(uncPath)) throw new ArgumentNullException("uncPath"); ArtifactId = artifactId; AsperaCredential = credential; CloudInstance = cloudInstance; Name = name; ResourcePool = pool; ResourceServerType = serverType; UncPath = uncPath; } } }