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

IFileInfo

public interface IFileInfo
Represents an abstract wrapper for the FileInfo class.

Gets a value indicating whether a file exists.

bool Exists { get; }

Gets a value indicating whether a file exists.

string FullName { get; }

Gets the full path of the directory or file.

long Length { get; }

Gets the size, in bytes, of the current file.

string Name { get; }

Gets the name of the file.

void Refresh()

Refreshes the state of the object.