# GH_ExternalFile class

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_ExternalFile
```

Represents information about external files to be loaded.

## Constructors

- [GH_ExternalFile](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-externalfile/ctor.md): Create a new instance of the file info class

## Properties

- [FileHash](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-externalfile/filehash.md): Gets the file hash.
- [FileName](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-externalfile/filename.md): Gets the file name (without the extension).
- [FilePath](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-externalfile/filepath.md): Gets the file path.
- [FileSize](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-externalfile/filesize.md): Gets the file size (in bytes).
- [FileType](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-externalfile/filetype.md): Gets the file type as indicated by the extension.

## Methods

- [IsIdenticalTo](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-externalfile/isidenticalto.md): 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.
