Table of Contents

Class DBusConnectionOptions.SetupResult

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

Represents the result of a D-Bus client setup operation.

public class DBusConnectionOptions.SetupResult
Inheritance
DBusConnectionOptions.SetupResult
Inherited Members

Constructors

SetupResult()

Initializes a new instance of the SetupResult class with an empty address.

public SetupResult()

SetupResult(string)

Initializes a new instance of the SetupResult class.

public SetupResult(string address)

Parameters

address string

The connection address.

Properties

ConnectionAddress

Gets the connection address.

public string ConnectionAddress { get; }

Property Value

string

ConnectionStream

Gets or sets a connection stream.

public Stream? ConnectionStream { get; set; }

Property Value

Stream

Remarks

When set, SupportsFdPassing and ConnectionAddress are ignored. The implementation assumes that it is safe to dispose the Stream while there are on-going reads/writes, and that these on-going operations will be aborted.

MachineId

Gets or sets the machine ID for the connection.

public string? MachineId { get; set; }

Property Value

string

SupportsFdPassing

Gets or sets whether the connection supports file descriptor passing.

public bool SupportsFdPassing { get; set; }

Property Value

bool

TeardownToken

Gets or sets the teardown token used to clean up resources.

public object? TeardownToken { get; set; }

Property Value

object

UserId

Gets or sets the user ID for the connection.

public string? UserId { get; set; }

Property Value

string