class Wacom::Kiosk::Message::Shared::NamedPipeBaseMessage
Represents a basic message structure for named pipe communication, including a message and a signature.
Summary
| Members | Descriptions |
|---|---|
public byte[] message | Message Content |
public byte[] signature | Signature of the Message |
public inline NamedPipeBaseMessage(byte[] message,byte[] signature) | Initializes a new instance of the NamedPipeBaseMessage class. |
public inline byte[] ToByteArray() | Converts the message to a byte array for transmission. |
Members
public byte[] message
Message Content
public byte[] signature
Signature of the Message
public inline NamedPipeBaseMessage(byte[] message,byte[] signature)
Initializes a new instance of the NamedPipeBaseMessage class.
Parameters
-
messageThe message content as a byte array. -
signatureThe signature of the message as a byte array.
public inline byte[] ToByteArray()
Converts the message to a byte array for transmission.
Returns
A byte array representing the serialized form of the message.
This method serializes the current instance into a byte array using BinaryFormatter.