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

IPath

public interface IPath
Represents an abstract wrapper for the Path class.
using System; using System.Diagnostics.CodeAnalysis; namespace Relativity.DataExchange.Io { [CLSCompliant(false)] public interface IPath { bool SupportLongPaths { get; set; } string CustomTempPath { get; set; } string AddTrailingBackSlash(string path); string ChangeExtension(string path, string extension); string Combine(string path1, string path2); string ConvertIllegalCharactersInFilename(string fileName); string ConvertIllegalCharactersInFilename(string fileName, string replacement); string GetDirectoryName(string path); string GetExtension(string path); string GetFileName(string path); string GetFullPath(string path); string GetFullyQualifiedPath(Uri baseUri, string path); string GetTempFileName(); string GetTempFileName(string fileNameSuffix); string TemporaryFileNameWithoutCreatingEmptyFile(string fileNameSuffix); [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification = "The method name must match the original.")] string GetTempPath(); bool IsPathFullyQualified(string path); bool IsPathRooted(string path); bool IsPathUnc(string path); string NormalizePath(string path); bool PathEndsWithTrailingBackSlash(string path); string TrimLeadingSlash(string path); string TrimTrailingSlash(string path); } }