PrivMX DOCS
API Reference/PrivMX Endpoint C# Extra/Core

Models

ConnectionSession

public class ConnectionSession : IAsyncDisposable
{
    string PublicKey {get; set;}
    string PrivateKey {get; set;}
    IAsyncConnection Connection {get; set;}
    IAsyncThreadApi ThreadApi {get; set;}
    IAsyncStoreApi StoreApi {get; set;}
    IAsyncInboxApi InboxApi {get; set;}
}

Fields

PublicKey

string

Public key of the user. If connection is anonymous, this will be empty.

PrivateKey

string

Private key of the user. If connection is anonymous, this will be empty.

Connection

IAsyncConnection

Connection asynchronous api.

ThreadApi

IAsyncThreadApi

Threads asynchronous api.

StoreApi

IAsyncStoreApi

Store asynchronous api.

InboxApi

IAsyncInboxApi

Inbox asynchronous api.

PagingQueryExtension

public class PagingQueryExtension
{
    PagingQuery DefaultQuery {get; set;}
}

Fields

DefaultQuery

PagingQuery

PrivmxFileStream

public class PrivmxFileStream : Stream
{
    string? FileId {get; set;}
    ReadOnlySpan<byte> PublicMeta {get; set;}
    ReadOnlySpan<byte> PrivateMeta {get; set;}
}

Fields

FileId

string?

Gets the file identifier. FileId may be null if the file is not yet uploaded.

PublicMeta

ReadOnlySpan<byte>

Gets the public metadata.

PrivateMeta

ReadOnlySpan<byte>

Gets the private metadata.

We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.