Table of Contents

Struct DBusService

Namespace
Tmds.DBus.Protocol
Assembly
Tmds.DBus.Protocol.dll

Represents a named connection on the message bus.

public readonly struct DBusService
Inherited Members

Remarks

The name may be a well-known bus name (like org.freedesktop.NetworkManager) or a unique connection name assigned by the message bus (like :1.42).

Constructors

DBusService(DBusConnection, string)

Initializes a new instance of the DBusService struct.

public DBusService(DBusConnection connection, string name)

Parameters

connection DBusConnection

The connection to the message bus.

name string

The bus name.

Properties

Connection

Gets the connection to the message bus.

public DBusConnection Connection { get; }

Property Value

DBusConnection

Name

Gets the bus name.

public string Name { get; }

Property Value

string

Methods

ToString()

public override string ToString()

Returns

string