# RequestContext.Get(string)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.requestcontext/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Runtime/RequestContext.cs#L70-L78)

```csharp
public static object? Get(string key)
```

Retrieves a value from the request context.

### Parameters

- `key` (`string`): The key for the value to be retrieved.

### Returns

The value currently associated with the provided key, otherwise `null` if no data is present for that key.
