Table of Contents

Class Message

Namespace
PrivMX.Endpoint.Thread.Models
Assembly
PrivMX.Endpoint.dll

Represents a message.

public class Message
Inheritance
Message
Inherited Members

Properties

AuthorPubKey

Verified public key of the PublicMeta, PrivateMeta and Data author.

public string AuthorPubKey { get; set; }

Property Value

string

Data

Payload of the message.

public byte[] Data { get; set; }

Property Value

byte[]

Info

Server metadata.

public ServerMessageInfo Info { get; set; }

Property Value

ServerMessageInfo

PrivateMeta

Private metadata.

public byte[] PrivateMeta { get; set; }

Property Value

byte[]

PublicMeta

Public metadata.

public byte[] PublicMeta { get; set; }

Property Value

byte[]

StatusCode

Status code of decryption and verification of the message.

If value is equal 0, then the message is successfully decrypted and verified. Otherwise, status code is compatible with codes of exceptions.

public long StatusCode { get; set; }

Property Value

long