Skip to main content

class Wacom::Kiosk::Message::Shared::NamedPipeBaseMessage

Represents a basic message structure for named pipe communication, including a message and a signature.

Summary

MembersDescriptions
public byte[] messageMessage Content
public byte[] signatureSignature 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

  • message The message content as a byte array.

  • signature The 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.