# FileStatus

> The possible statuses of a FileHandle.

## Definition

* **Type:** Enum
* **Namespace:** [Unity.IO.LowLevel.Unsafe](/engine/6000.7/script-reference/unity/io/lowlevel/unsafe.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public enum FileStatus
```

## Remarks

Additional Resources: [FileHandle.Status](/engine/6000.7/script-reference/unity/io/lowlevel/unsafe/filehandle/status.md), [AsyncReadManager.OpenFileAsync](/engine/6000.7/script-reference/unity/io/lowlevel/unsafe/asyncreadmanager/openfileasync.md)

## Fields

| Value                                                                                           | Description                                                                                                                                                                                |
| ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Closed](/engine/6000.7/script-reference/unity/io/lowlevel/unsafe/filestatus/closed.md)         | The file has been closed.                                                                                                                                                                  |
| [Open](/engine/6000.7/script-reference/unity/io/lowlevel/unsafe/filestatus/open.md)             | The file is open for reading.                                                                                                                                                              |
| [OpenFailed](/engine/6000.7/script-reference/unity/io/lowlevel/unsafe/filestatus/openfailed.md) | The request to open this file has failed. You must still dispose of the FileHandle using [FileHandle.Close](/engine/6000.7/script-reference/unity/io/lowlevel/unsafe/filehandle/close.md). |
| [Pending](/engine/6000.7/script-reference/unity/io/lowlevel/unsafe/filestatus/pending.md)       | The asynchronous operation to open the file is still in progress.                                                                                                                          |
