# Grain Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.grain/)

## GrainContext {#graincontext-8d23ce92}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.grain/properties/graincontext-8d23ce92/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Core/Grain.cs)

```csharp
public IGrainContext GrainContext
```

Gets the grain context.

## GrainReference {#grainreference-420c72c3}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.grain/properties/grainreference-420c72c3/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Core/Grain.cs#L24)

```csharp
public GrainReference GrainReference
```

## IdentityString {#identitystring-e9028a67}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.grain/properties/identitystring-e9028a67/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Core/Grain.cs#L65)

```csharp
public string IdentityString
```

String representation of grain's SiloIdentity including type and primary key.

## RuntimeIdentity {#runtimeidentity-919d69b2}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.grain/properties/runtimeidentity-919d69b2/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Core/Grain.cs#L71)

```csharp
public string RuntimeIdentity
```

A unique identifier for the current silo. There is no semantic content to this string, but it may be useful for logging.
