# GH_MRU_Server class

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

```cs
public class GH_MRU_Server
```

Maintains a list of MRU (Most Recently Used) records.

## Properties

- [RecordCount](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.mru.gh-mru-server/recordcount.md): Gets the number of records stored in this server. This is not necessarily the same as the number of records returned via the Records property.
- [Records](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.mru.gh-mru-server/records.md): Gets the MRU records stored in the server. Records are sorted from oldest to newest. The number of records returned is never more than VisibleRecords
- [VisibleRecords](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.mru.gh-mru-server/visiblerecords.md): (static) Gets or sets the total number of visible Records in MRU interface.

## Methods

- [AppendRecentFileRecord](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.mru.gh-mru-server/appendrecentfilerecord.md): Add a new MRU event to this server.
- [Clear](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.mru.gh-mru-server/clear.md): Destroy all MRU records.
- [ClearMissingRecords](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.mru.gh-mru-server/clearmissingrecords.md): Destroy all MRU records that no longer point to existing files.
- [ReadList](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.mru.gh-mru-server/readlist.md): Read the MRU data from the grasshopper settings folder.
- [WriteList](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.mru.gh-mru-server/writelist.md): Write the MRU data to the Grasshopper settings folder.

## Events

- [MRURecordCountChanged](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.mru.gh-mru-server/mrurecordcountchanged.md): (static) Event raised whenever the record count of an MRU server changes.
- [VisibleRecordCountChanged](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.mru.gh-mru-server/visiblerecordcountchanged.md): (static) Event raised whenever the number of visible records is changed.
