# StreamIdentity.StreamIdentity(Guid, string?)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.streamidentity/) | [Constructors](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.streamidentity/constructors/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.Streaming/Core/StreamIdentity.cs#L22-L26)

```csharp
public StreamIdentity(Guid streamGuid, string? streamNamespace)
```

Initializes a new instance of the [StreamIdentity](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.streamidentity/) class.

### Parameters

- `streamGuid` (`Guid`): The stream unique identifier.
- `streamNamespace` (`string?`): The stream namespace.
