Class XmlBinaryPayload
- Namespace
- Geotab.Checkmate.ObjectModel.Communication
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The xml payload used for live messaging.
public class XmlBinaryPayload : IBinaryPayload
- Inheritance
-
XmlBinaryPayload
- Implements
- Inherited Members
Constructors
XmlBinaryPayload()
Initializes a new instance of the XmlBinaryPayload class. Initializes a new instance of the XmlBinaryPayload class. This is required for deserialization.
public XmlBinaryPayload()
XmlBinaryPayload(byte[]?)
Initializes a new instance of the XmlBinaryPayload class. Initializes a new instance of the XmlBinaryPayload class.
public XmlBinaryPayload(byte[]? payload)
Parameters
payload
byte[]The payload.
Properties
EncodedString
Gets or sets the encoded string.
public string EncodedString { get; set; }
Property Value
- string
The encoded string.
Payload
Gets or sets a the raw binary message.
public byte[]? Payload { get; set; }
Property Value
- byte[]
A the raw binary message.
Methods
Clone()
Create a copy.
public IBinaryPayload Clone()
Returns
- IBinaryPayload
BinaryPayload.
Equals(object?)
Determines whether the specified object is equal to this instance.
public override bool Equals(object? obj)
Parameters
Returns
GetHashCode()
Returns a hash code for this instance.
public override int GetHashCode()
Returns
- int
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.