Class DBusConnectionOptions.SetupResult
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
addressstringThe connection address.
Properties
ConnectionAddress
Gets the connection address.
public string ConnectionAddress { get; }
Property Value
ConnectionStream
Gets or sets a connection stream.
public Stream? ConnectionStream { get; set; }
Property Value
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
SupportsFdPassing
Gets or sets whether the connection supports file descriptor passing.
public bool SupportsFdPassing { get; set; }
Property Value
TeardownToken
Gets or sets the teardown token used to clean up resources.
public object? TeardownToken { get; set; }
Property Value
UserId
Gets or sets the user ID for the connection.
public string? UserId { get; set; }