A Complete cross platform .NET WebSocket Client for OBS Studio version 28 and up.
Currently implementing: obs-websocket 5.1.0 Protocol
Install from the NuGet Gallery
Or through the NuGet CLI: NuGet\Install-Package OBSClient -Version 1.2.0
From the command line: dotnet add package OBSClient --version 1.2.0
ObsClient client = new();
bool isConnected = await client.ConnectAsync();
if (isConnected)
{
await client.SetCurrentProgramScene("Gaming Scene");
Monitor[] monitors = await client.GetMonitorList();
client.Disconnect();
}