Class Message
Represents a received D-Bus message.
public sealed class Message
- Inheritance
-
Message
- Inherited Members
Properties
Destination
Gets the destination bus name as a byte span.
public ReadOnlySpan<byte> Destination { get; }
Property Value
DestinationAsString
Gets the destination bus name as a string.
public string? DestinationAsString { get; }
Property Value
DestinationIsSet
Gets a value indicating whether the Destination header field is present.
public bool DestinationIsSet { get; }
Property Value
ErrorName
Gets the error name as a byte span.
public ReadOnlySpan<byte> ErrorName { get; }
Property Value
ErrorNameAsString
Gets the error name as a string.
public string? ErrorNameAsString { get; }
Property Value
ErrorNameIsSet
Gets a value indicating whether the ErrorName header field is present.
public bool ErrorNameIsSet { get; }
Property Value
Interface
Gets the interface name as a byte span.
public ReadOnlySpan<byte> Interface { get; }
Property Value
InterfaceAsString
Gets the interface name as a string.
public string? InterfaceAsString { get; }
Property Value
InterfaceIsSet
Gets a value indicating whether the Interface header field is present.
public bool InterfaceIsSet { get; }
Property Value
IsBigEndian
Returns whether the message uses big-endian byte order.
public bool IsBigEndian { get; }
Property Value
Member
Gets the member name as a byte span.
public ReadOnlySpan<byte> Member { get; }
Property Value
MemberAsString
Gets the member name as a string.
public string? MemberAsString { get; }
Property Value
MemberIsSet
Gets a value indicating whether the Member header field is present.
public bool MemberIsSet { get; }
Property Value
MessageFlags
Gets the message flags.
public MessageFlags MessageFlags { get; }
Property Value
MessageType
Gets the message type.
public MessageType MessageType { get; }
Property Value
Path
Gets the object path as a byte span.
public ReadOnlySpan<byte> Path { get; }
Property Value
PathAsString
Gets the object path as a string.
public string? PathAsString { get; }
Property Value
PathIsSet
Gets a value indicating whether the Path header field is present.
public bool PathIsSet { get; }
Property Value
ReplySerial
Gets the serial number of the message this is a reply to.
public uint? ReplySerial { get; }
Property Value
- uint?
Sender
Gets the sender bus name as a byte span.
public ReadOnlySpan<byte> Sender { get; }
Property Value
SenderAsString
Gets the sender bus name as a string.
public string? SenderAsString { get; }
Property Value
SenderIsSet
Gets a value indicating whether the Sender header field is present.
public bool SenderIsSet { get; }
Property Value
Serial
Gets the serial number of the message.
public uint Serial { get; }
Property Value
Signature
Gets the signature as a byte span.
public ReadOnlySpan<byte> Signature { get; }
Property Value
SignatureAsString
Gets the signature as a string.
public string SignatureAsString { get; }
Property Value
SignatureIsSet
Gets a value indicating whether the Signature header field is present.
public bool SignatureIsSet { get; }
Property Value
UnixFdCount
Gets the number of Unix file descriptors associated with the message.
public int UnixFdCount { get; }
Property Value
Methods
GetBodyReader()
Gets a Reader for reading the message body.
public Reader GetBodyReader()