GH_ExternalFile

References
public class GH_ExternalFile
Represents information about external files to be loaded.

Constructors

GH_ExternalFile

#
Create a new instance of the file info class
public GH_ExternalFile(
path
)

Properties

FileHash

#
Gets the file hash.
public Guid FileHash { get; }

FileName

#
Gets the file name (without the extension).
public string FileName { get; }

FilePath

#
Gets the file path.
public string FilePath { get; }

FileSize

#
Gets the file size (in bytes).
public long FileSize { get; }

FileType

#
Gets the file type as indicated by the extension.
public GH_ExternalFileType FileType { get; }

Methods

IsIdenticalTo

#
Compares two files for content. If the size and the hash or the other file are equal to this one, the files are considered identical.
public bool IsIdenticalTo()