snapcast-net (0.0.1)

Published 2024-12-30 22:58:18 +00:00 by craig

Installation

dotnet nuget add source --name craig --username your_username --password your_token 
dotnet add package --source craig --version 0.0.1 snapcast-net

About this package

.NET Snapcast API Client

Snapcast .NET

Another .NET API client for Snapcast. The current implementation uses a raw TCP connection to communicate with the Snapcast server. All serialisation and deserialisation of data is handled within the client.

Usage

Initialise

using SnapCastNet;

var connection = new TcpConnection("127.0.0.1", 1705);
var client = new Client(connection);

var result = await client.ServerGetRpcVersionAsync();

// result = {
//   Major: 2,
//   Minor: 0,
//   Patch: 0
// }

Dependencies

ID Version Target Framework
Microsoft.Extensions.Logging.Abstractions 8.0.1 net8.0
Newtonsoft.Json 13.0.3 net8.0
Details
NuGet
2024-12-30 22:58:18 +00:00
6
snapcast-net
28 KiB
Assets (2)
Versions (4) View all
0.0.4 2025-03-02
0.0.1 2024-12-30
0.0.2 2024-12-30
0.0.3 2024-12-30