Buttplug.Net.NewtonsoftJson 0.1.0-ci0046

This is a prerelease version of Buttplug.Net.NewtonsoftJson.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Buttplug.Net.NewtonsoftJson --version 0.1.0-ci0046                
NuGet\Install-Package Buttplug.Net.NewtonsoftJson -Version 0.1.0-ci0046                
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.NewtonsoftJson" Version="0.1.0-ci0046" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Buttplug.Net.NewtonsoftJson --version 0.1.0-ci0046                
#r "nuget: Buttplug.Net.NewtonsoftJson, 0.1.0-ci0046"                
#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.
// Install Buttplug.Net.NewtonsoftJson as a Cake Addin
#addin nuget:?package=Buttplug.Net.NewtonsoftJson&version=0.1.0-ci0046&prerelease

// Install Buttplug.Net.NewtonsoftJson as a Cake Tool
#tool nuget:?package=Buttplug.Net.NewtonsoftJson&version=0.1.0-ci0046&prerelease                

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

⚙️ 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);

client.DeviceAdded += (_, e) => Console.WriteLine($"Device added: {e}");
client.DeviceRemoved += (_, e) => Console.WriteLine($"Device removed: {e}");
client.ScanningFinished += (_, e) => Console.WriteLine("Scanning finished");
client.UnhandledException += (_, e) => Console.WriteLine($"Error received: {e}");
client.Disconnected += (_, e) => Console.WriteLine("Disconnected");

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

await client.StartScanningAsync(cancellationToken);
await Task.Delay(1000);
await client.StopScanningAsync(cancellationToken);

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

await Task.Delay(1000);
await client.StopAllDevicesAsync(cancellationToken);
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
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 (1)

Showing the top 1 popular GitHub repositories that depend on Buttplug.Net.NewtonsoftJson:

Repository Stars
Yoooi0/MultiFunPlayer
flexible application to synchronize various devices with media playback
Version Downloads Last updated
0.1.0-ci0094 51 10/24/2024
0.1.0-ci0092 140 5/25/2024
0.1.0-ci0081 527 3/17/2023
0.1.0-ci0080 124 1/15/2023
0.1.0-ci0077 383 1/14/2023
0.1.0-ci0072 119 1/13/2023
0.1.0-ci0066 115 1/12/2023
0.1.0-ci0061 105 1/11/2023
0.1.0-ci0055 104 1/10/2023
0.1.0-ci0052 116 1/10/2023
0.1.0-ci0046 118 1/9/2023
0.1.0-ci0045 107 1/9/2023
0.1.0-ci0043 105 1/9/2023
0.1.0-ci0042 104 1/9/2023
0.1.0-ci0040 101 1/9/2023
0.1.0-ci0031 103 1/9/2023
0.1.0-ci0026 111 1/9/2023
0.1.0-ci0022 105 1/8/2023