CodeBrix.Platform.LinuxDBus.MitLicenseForever 1.0.117

dotnet add package CodeBrix.Platform.LinuxDBus.MitLicenseForever --version 1.0.117
                    
NuGet\Install-Package CodeBrix.Platform.LinuxDBus.MitLicenseForever -Version 1.0.117
                    
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="CodeBrix.Platform.LinuxDBus.MitLicenseForever" Version="1.0.117" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeBrix.Platform.LinuxDBus.MitLicenseForever" Version="1.0.117" />
                    
Directory.Packages.props
<PackageReference Include="CodeBrix.Platform.LinuxDBus.MitLicenseForever" />
                    
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 CodeBrix.Platform.LinuxDBus.MitLicenseForever --version 1.0.117
                    
#r "nuget: CodeBrix.Platform.LinuxDBus.MitLicenseForever, 1.0.117"
                    
#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 CodeBrix.Platform.LinuxDBus.MitLicenseForever@1.0.117
                    
#: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=CodeBrix.Platform.LinuxDBus.MitLicenseForever&version=1.0.117
                    
Install as a Cake Addin
#tool nuget:?package=CodeBrix.Platform.LinuxDBus.MitLicenseForever&version=1.0.117
                    
Install as a Cake Tool

CodeBrix.Platform.LinuxDBus

A fully managed, drop-in replacement for the Tmds.DBus.Protocol NuGet package, targeting .NET 10. CodeBrix.Platform.LinuxDBus is a low-level D-Bus protocol library for Linux: it connects to the session/system bus (or any transport the D-Bus specification allows), sends and receives raw D-Bus messages, and exposes the wire-level reader/writer primitives that higher-level consumers build on top of.

This port is based on the upstream Tmds.DBus.Protocol v0.21.3, which includes the fixes for advisory GHSA-xrw6-gwf8-vvr9 / CVE-2026-39959 (High severity, CVSS 7.1). Earlier v0.21.2 of the upstream package is flagged as vulnerable on NuGet; this port carries the patched source. CodeBrix.Platform.LinuxDBus has no dependencies other than .NET, and is provided as a .NET 10 library and associated CodeBrix.Platform.LinuxDBus.MitLicenseForever NuGet package.

CodeBrix.Platform.LinuxDBus supports applications and assemblies that target Microsoft .NET version 10.0 and later. Microsoft .NET version 10.0 is a Long-Term Supported (LTS) version of .NET, and was released on Nov 11, 2025; and will be actively supported by Microsoft until Nov 14, 2028. Please update your C#/.NET code and projects to the latest LTS version of Microsoft .NET.

CodeBrix.Platform.LinuxDBus supports:

  • Connecting to any D-Bus bus — session bus, system bus, or an arbitrary address string
  • Sending and awaiting D-Bus method calls
  • Subscribing to D-Bus signals via MatchRule / AddMatchAsync
  • Registering method handlers to expose D-Bus objects
  • Reading and writing every D-Bus wire-level type: basic types, arrays, dictionaries, structs, variants, object paths, signatures, and Unix file descriptors
  • Safe variant handling via VariantValue / Variant
  • Generating D-Bus introspection XML from registered object paths

Sample Code

Connecting to the session bus and calling org.freedesktop.DBus.ListNames

using CodeBrix.Platform.LinuxDBus;

await using var connection = new Connection(Address.Session!);
await connection.ConnectAsync();

using var message = connection.CreateMessage(
    destination: "org.freedesktop.DBus",
    path:        "/org/freedesktop/DBus",
    @interface:  "org.freedesktop.DBus",
    member:      "ListNames");

using var reply = await connection.CallMethodAsync(message);
var reader = reply.GetBodyReader();
string[] names = reader.ReadArrayOfString();

foreach (var name in names)
{
    Console.WriteLine(name);
}

License

The project is licensed under the MIT License. see: https://en.wikipedia.org/wiki/MIT_License

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.
  • net10.0

    • No dependencies.

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
1.0.117 107 4/29/2026