Struct DBusService
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
connectionDBusConnectionThe connection to the message bus.
namestringThe bus name.
Properties
Connection
Gets the connection to the message bus.
public DBusConnection Connection { get; }
Property Value
Name
Gets the bus name.
public string Name { get; }
Property Value
Methods
ToString()
public override string ToString()