InboxApiExtensions
Static Methods
GetInboxAsync
Params
inboxApi
this IInboxApi
inboxId
string
token
CancellationToken
Returns
ValueTask<PrivMX.Endpoint.Inbox.Models.Inbox> ·
CreateInboxAsync
Params
inboxApi
this IInboxApi
contextId
string
users
List<UserWithPubKey>
managers
List<UserWithPubKey>
publicMeta
byte[]
privateMeta
byte[]
filesConfig
FilesConfig
policies
ContainerPolicyWithoutItem?
token
CancellationToken
Returns
ValueTask<string> ·
UpdateInboxAsync
Params
inboxApi
this IInboxApi
inboxId
string
users
List<UserWithPubKey>
managers
List<UserWithPubKey>
publicMeta
byte[]
privateMeta
byte[]
filesConfig
FilesConfig
version
long
force
bool
forceGenerateNewKey
bool
policies
ContainerPolicyWithoutItem?
token
CancellationToken
Returns
ValueTask ·
ListInboxesAsync
Params
inboxApi
this IInboxApi
contextId
string
pagingQuery
PagingQuery
token
CancellationToken
Returns
ValueTask<PagingList<PrivMX.Endpoint.Inbox.Models.Inbox>> ·
GetInboxPublicViewAsync
Params
inboxApi
this IInboxApi
inboxId
string
token
CancellationToken
Returns
ValueTask<InboxPublicView> ·
DeleteInboxAsync
Params
inboxApi
this IInboxApi
inboxId
string
token
CancellationToken
Returns
ValueTask ·
PrepareEntryAsync
Params
inboxApi
this IInboxApi
inboxId
string
data
byte[]
inboxFileHandles
List<long>
userPrivKey
string
token
CancellationToken
Returns
ValueTask<long> ·
SendEntryAsync
Params
inboxApi
this IInboxApi
inboxHandle
long
token
CancellationToken
Returns
ValueTask ·
ReadEntryAsync
Params
inboxApi
this IInboxApi
inboxEntryId
string
token
CancellationToken
Returns
ValueTask<InboxEntry> ·
ListEntriesAsync
Params
inboxApi
this IInboxApi
inboxId
string
pagingQuery
PagingQuery
token
CancellationToken
Returns
ValueTask<PagingList<InboxEntry>> ·
DeleteEntryAsync
Params
inboxApi
this IInboxApi
inboxEntryId
string
token
CancellationToken
Returns
ValueTask ·
CreateFileHandleAsync
Params
inboxApi
this IInboxApi
publicMeta
byte[]
privateMeta
byte[]
fileSize
long
token
CancellationToken
Returns
ValueTask<long> ·
WriteToFileAsync
Params
inboxApi
this IInboxApi
inboxHandle
long
inboxFileHandle
long
dataChunk
byte[]
token
CancellationToken
Returns
ValueTask ·
OpenFileAsync
Params
inboxApi
this IInboxApi
fileId
string
token
CancellationToken
Returns
ValueTask<long> ·
ReadFromFileAsync
Params
inboxApi
this IInboxApi
fileHandle
long
length
long
token
CancellationToken
Returns
ValueTask<byte[]> ·
SeekInFileAsync
Params
inboxApi
this IInboxApi
fileHandle
long
position
long
token
CancellationToken
Returns
ValueTask ·
CloseFileAsync
Params
inboxApi
this IInboxApi
fileHandle
long
token
CancellationToken
Returns
ValueTask<string> ·
SubscribeForInboxEventsAsync
Params
inboxApi
this IInboxApi
token
CancellationToken
Returns
ValueTask ·
UnsubscribeFromInboxEventsAsync
Params
inboxApi
this IInboxApi
token
CancellationToken
Returns
ValueTask ·
SubscribeForEntryEventsAsync
Params
inboxApi
this IInboxApi
inboxId
string
token
CancellationToken
Returns
ValueTask ·
UnsubscribeFromEntryEventsAsync
Params
inboxApi
this IInboxApi
inboxId
string
token
CancellationToken
Returns
ValueTask ·
We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.
PrivMX Endpoint C# v2.2