# Sandbox.BaseFileSystem.ReadAllBytesAsync

```csharp
System.Threading.Tasks.Task<byte[]> ReadAllBytesAsync(string path)
```

Read the contents of path and return it as a string

### Parameters

- `path` (`string`)

### Returns

`System.Threading.Tasks.Task<byte[]>`

Declared in [Sandbox.BaseFileSystem](/api/Sandbox.BaseFileSystem).
Assembly: `Sandbox.Filesystem`.
