# GH_AsynchFileData class

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

```cs
public class GH_AsynchFileData : IDisposable
```

This class provides asynchronous methods to keep tabs on a file.

## Constructors

- [GH_AsynchFileData](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-asynchfiledata/ctor.md): Asynchronous constructor. File properties will be loaded asychronously.

## Fields

- [FilePath](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-asynchfiledata/filepath.md): Gets the location this instance is watching.
- [IsLocal](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-asynchfiledata/islocal.md): Gets whether Grasshopper thinks the file it is watching is on a local machine.

## Properties

- [Callback](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-asynchfiledata/callback.md): Gets or sets the callback delegate to be used when properties are updated.
- [FileCreated](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-asynchfiledata/filecreated.md): Gets the date at which the file was created.
- [FileExists](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-asynchfiledata/fileexists.md): Gets whether the file exists. Note that this property returns false if DataExists=False, regardless of whether the file exists.
- [FileLastChanged](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-asynchfiledata/filelastchanged.md): Gets the date at which the file was last changed.
- [FileSize](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-asynchfiledata/filesize.md): Gets the size of the file.
- [FileThumbnail](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-asynchfiledata/filethumbnail.md): Gets the thumbnail bitmap associated with the file.
- [HarvestThumbnail](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-asynchfiledata/harvestthumbnail.md): Gets or sets whether the thumbnail ought to be parsed. At the moment this only makes sense for GH/GHX files.
- [IsFileData](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-asynchfiledata/isfiledata.md): Gets whether the data has been retrieved at least once.

## Methods

- [Dispose](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-asynchfiledata/dispose.md)
- [UpdateProperties](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-asynchfiledata/updateproperties.md): Updates all file properties on the thread on which this method is called.
