Skip to content

sierpinskid/stream-chat-unity-sdk-console-app-example

Repository files navigation

Stream Chat SDK for .NET

This repo is an example of a working .NET Console App that uses Stream Unity SDK v4.1.0.

Applications

  • .NET apps
  • .NET MAUI apps

How to run?

Open Program.cs and enter your: API_KEY, USER_ID and USER_TOKEN in the top of the file:

var authCredentials = new AuthCredentials(
    apiKey: "",
    userId: "",
    userToken: "");
  • API_KEY - get it from Stream's Dashboard
  • USER_ID - for the purpose of testing you can create a test user through Dashboards Chat Explorer
  • USER_TOKEN - for the purpose of testing you can create token with our online token generator

For a more robust testing checkout how to enable Developer's Tokens


Stream Unity SDK is designed in a way to have the core logic written in pure .NET/C# and have all of the Unity Engine dependencies externally injected. This enables additional scenarios possible e.g.:

  • run a backend multiplayer simulation as a C# Console App
  • run C# Desktop Apps
  • run Xamarin/.NET MAUI cross-platform app

About

Example showing how to use Stream SDK for Unity in .NET Console App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages