# ServerState class

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

```cs
public sealed class ServerState
```

## Constructors

- [ServerState](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.serverstate/ctor.md)

## Fields

- [CurrentlyRunning](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.serverstate/currentlyrunning.md): Gets the solution (if any) which is currently running.
- [MostRecentlyCompleted](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.serverstate/mostrecentlycompleted.md): Gets the solution (if any) which last completed, faulted, or was cancelled.
- [Phase](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.serverstate/phase.md): Gets the current solution phase of the server.
- [RelevantId](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.serverstate/relevantid.md): Gets the most relevant ID involved in this state. States should not be overwritten by other states with lower relevant IDs.
