# SettingsFolder class

Namespace: [Grasshopper2](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class SettingsFolder
```

Wrapper class for accessing various settings files in a single folder.

## Constructors

- [SettingsFolder](https://developer.rhino3d.com/api/gh2/type/grasshopper2.settingsfolder/ctor.md): Constructor.

## Properties

- [Folder](https://developer.rhino3d.com/api/gh2/type/grasshopper2.settingsfolder/folder.md): Gets the folder path.

## Methods

- [FileNames](https://developer.rhino3d.com/api/gh2/type/grasshopper2.settingsfolder/filenames.md): Enumerate over all files that match a pattern. This includes not-yet-cached files which are nevertheless on the disc, as well as in-memory-only files which haven't (yet) been written to the disc.
- [GetBytes](https://developer.rhino3d.com/api/gh2/type/grasshopper2.settingsfolder/getbytes.md): Gets the contents of a binary file in this folder.
- [GetSettings](https://developer.rhino3d.com/api/gh2/type/grasshopper2.settingsfolder/getsettings.md): Gets a settings file in this folder. Settings files are strongly-typed binary files which use the GrasshopperIO serialisation library.
- [GetText](https://developer.rhino3d.com/api/gh2/type/grasshopper2.settingsfolder/gettext.md): Gets the contents of a text file in this folder.
- [SetBytes](https://developer.rhino3d.com/api/gh2/type/grasshopper2.settingsfolder/setbytes.md): Set the contents of a binary file in this folder.
- [SetText](https://developer.rhino3d.com/api/gh2/type/grasshopper2.settingsfolder/settext.md): Set the contents of a text file in this folder.
