Buttplug.Net.SystemTextJson 0.1.0-ci0094

This is a prerelease version of Buttplug.Net.SystemTextJson.
dotnet add package Buttplug.Net.SystemTextJson --version 0.1.0-ci0094
                    
NuGet\Install-Package Buttplug.Net.SystemTextJson -Version 0.1.0-ci0094
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Buttplug.Net.SystemTextJson" Version="0.1.0-ci0094" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Buttplug.Net.SystemTextJson" Version="0.1.0-ci0094" />
                    
Directory.Packages.props
<PackageReference Include="Buttplug.Net.SystemTextJson" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Buttplug.Net.SystemTextJson --version 0.1.0-ci0094
                    
#r "nuget: Buttplug.Net.SystemTextJson, 0.1.0-ci0094"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Buttplug.Net.SystemTextJson@0.1.0-ci0094
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Buttplug.Net.SystemTextJson&version=0.1.0-ci0094&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Buttplug.Net.SystemTextJson&version=0.1.0-ci0094&prerelease
                    
Install as a Cake Tool

Buttplug.Net is a buttplug client library written in modern .Net

Release Pre-Release Build

⚙️ Installation

Stable and prerelease builds are available from Nuget:

📄 Sample

var cancellationToken = CancellationToken.None;

//var converter = new ButtplugNewtonsoftJsonConverter();
var converter = new ButtplugSystemTextJsonConverter();
await using var client = new ButtplugClient("Buttplug.Net", converter);

await client.ConnectAsync(new Uri("ws://127.0.0.1:12345/"), cancellationToken);
Console.WriteLine("Connected");

await client.StartScanningAsync(cancellationToken);
await Task.Delay(2500);

foreach (var device in client.Devices)
    await device.ScalarAsync(1, ActuatorType.Vibrate, cancellationToken);

await Task.Delay(1000);
await client.StopAllDevicesAsync(cancellationToken);

More samples available here

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-ci0094 106 10/24/2024
0.1.0-ci0092 106 5/25/2024
0.1.0-ci0081 185 3/17/2023
0.1.0-ci0080 172 1/15/2023
0.1.0-ci0077 159 1/14/2023
0.1.0-ci0072 156 1/13/2023
0.1.0-ci0066 161 1/12/2023
0.1.0-ci0061 164 1/11/2023
0.1.0-ci0055 159 1/10/2023
0.1.0-ci0052 157 1/10/2023
0.1.0-ci0046 155 1/9/2023
0.1.0-ci0045 149 1/9/2023
0.1.0-ci0043 149 1/9/2023
0.1.0-ci0042 150 1/9/2023
0.1.0-ci0040 145 1/9/2023
0.1.0-ci0031 155 1/9/2023
0.1.0-ci0026 147 1/9/2023
0.1.0-ci0022 150 1/8/2023