Class ClientSetupResult
Represents the result of a D-Bus client setup operation.
public class ClientSetupResult
- Inheritance
-
ClientSetupResult
- Inherited Members
Constructors
ClientSetupResult()
Initializes a new instance of the ClientSetupResult class with an empty address.
public ClientSetupResult()
ClientSetupResult(string)
Initializes a new instance of the ClientSetupResult class.
public ClientSetupResult(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; }