Class DeviceMessageHeaders
- Namespace
- SenseAnywhere.Sdk.Messages.Headers
- Assembly
- SenseAnywhere.Sdk.dll
Represents the headers for a device message.
public class DeviceMessageHeaders : MessageHeaders
- Inheritance
-
DeviceMessageHeaders
- Derived
- Inherited Members
Constructors
DeviceMessageHeaders(string, DeviceMessageSender, MessageRecipient, DateTime)
Initializes a new instance of the DeviceMessageHeaders class.
public DeviceMessageHeaders(string messageId, DeviceMessageSender from, MessageRecipient to, DateTime timeStamp)
Parameters
messageId
stringThe unique identifier of the message.
from
DeviceMessageSenderThe sender of the device message.
to
MessageRecipientThe recipient of the message.
timeStamp
DateTimeThe timestamp of the message.
Properties
From
Gets the sender of the device message.
public DeviceMessageSender From { get; }