Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ProtonDriveApps/sdk
/ functions
Functions
3,221 in github.com/ProtonDriveApps/sdk
⨍
Functions
3,221
◇
Types & classes
1,247
↓ 1 callers
Method
GetThumbnailBlocksAsync
( VolumeId volumeId, IEnumerable<string> thumbnailIds, CancellationToken cancellationT
client/cs/src/Proton.Drive.Sdk/Api/Files/FilesApiClient.cs:99
↓ 1 callers
Method
GetTimelinePhotosAsync
(TimelinePhotoListRequest request, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Api/Photos/PhotosApiClient.cs:28
↓ 1 callers
Method
GetTrashAsync
(VolumeId volumeId, int pageSize, int pageIndex, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Api/Files/TrashApiClient.cs:14
↓ 1 callers
Method
GetUploadErrorFromException
(Exception exception)
client/cs/src/Proton.Drive.Sdk/Telemetry/TelemetryErrorResolver.cs:52
↓ 1 callers
Method
GetValueMaxCharacterCount
()
client/cs/src/Proton.Sdk/Serialization/Utf8JsonReaderExtensions.cs:13
↓ 1 callers
Method
GetValueOrDefault
(this Result<T, TError> result)
client/cs/src/Proton.Sdk/ResultExtensions.cs:8
↓ 1 callers
Method
GetVerificationInputAsync
( VolumeId volumeId, LinkId linkId, RevisionId revisionId, CancellationToken c
client/cs/src/Proton.Drive.Sdk/Api/BlockVerification/BlockVerificationApiClient.cs:13
↓ 1 callers
Method
HandleCancel
(CancellationTokenSourceCancelRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropCancellationTokenSource.cs:13
↓ 1 callers
Method
HandleCreateDeviceAsync
(DriveClientCreateDeviceRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:372
↓ 1 callers
Method
HandleCreateFolderAsync
(DriveClientCreateFolderRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:77
↓ 1 callers
Method
HandleDeleteDeviceAsync
(DriveClientDeleteDeviceRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:398
↓ 1 callers
Method
HandleDisposeAsync
(UploadControllerDisposeRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropUploadController.cs:43
↓ 1 callers
Method
HandleEnumerateDevicesAsync
(DriveClientEnumerateDevicesRequest request, nint bindingsHandle)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:357
↓ 1 callers
Method
HandleEnumerateFolderChildrenAsync
(DriveClientEnumerateFolderChildrenRequest request, nint bindingsHandle)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:220
↓ 1 callers
Method
HandleEnumeratePhotosTimelineAsync
(DrivePhotosClientEnumerateTimelineRequest request, nint bindingsHandle)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonPhotosClient.cs:152
↓ 1 callers
Method
HandleFindDuplicatesAsync
(DrivePhotosClientFindDuplicatesRequest request, nint bindingsHandle)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonPhotosClient.cs:274
↓ 1 callers
Method
HandleGetAvailableNameAsync
(DriveClientGetAvailableNameRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:175
↓ 1 callers
Method
HandleGetFileDownloaderAsync
(DriveClientGetFileDownloaderRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:245
↓ 1 callers
Method
HandleGetFileRevisionUploaderAsync
(DriveClientGetFileRevisionUploaderRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:136
↓ 1 callers
Method
HandleGetMyFilesFolderAsync
(DriveClientGetMyFilesFolderRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:235
↓ 1 callers
Method
HandleGetPhotosDownloaderAsync
(DrivePhotosClientGetPhotoDownloaderRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonPhotosClient.cs:170
↓ 1 callers
Method
HandleIsDownloadCompleteWithVerificationIssue
(DownloadControllerIsDownloadCompleteWithVerificationIssueRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropDownloadController.cs:43
↓ 1 callers
Method
HandleReadAsync
(StreamReadRequest requestStreamRead)
client/cs/src/Proton.Drive.Sdk.CExports/InteropStream.cs:58
↓ 1 callers
Method
HandleRenameAsync
(DriveClientRenameRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:266
↓ 1 callers
Method
HandleRenameDeviceAsync
(DriveClientRenameDeviceRequest request)
client/cs/src/Proton.Drive.Sdk.CExports/InteropProtonDriveClient.cs:385
↓ 1 callers
Method
HashNodeName
(string name, ReadOnlySpan<byte> parentFolderHashKey)
client/cs/src/Proton.Drive.Sdk/Nodes/Cryptography/NodeCrypto.cs:66
↓ 1 callers
Method
InitiateSessionAsync
(string username, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Api/Authentication/AuthenticationApiClient.cs:15
↓ 1 callers
Method
InvokeWithBuffer
( this InteropFunction<nint, InteropArray<byte>, nint, nint> interopFunction, nint bindingsHan
client/cs/src/Proton.Drive.Sdk.CExports/InteropActionExtensions.cs:99
↓ 1 callers
Method
IsEnabled
(LogLevel logLevel)
client/cs/src/Proton.Drive.Sdk.CExports/Logging/InteropLogger.cs:42
↓ 1 callers
Method
IsEnabledAsync
(string flagName, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk.CExports/InteropFeatureFlagProvider.cs:20
↓ 1 callers
Method
LoadRemainingAsync
<summary> Loads the remaining items in the queue if any, regardless of batch size. Otherwise, returns an empty enumerable. </summary> <remarks> Call t
client/cs/src/Proton.Drive.Sdk/BatchLoaderBase.cs:45
↓ 1 callers
Method
MarkTagAsCompleteAsync
<summary> Creates a cache entry that serves as a hint that querying by the given tag will return complete information. </summary> <remarks> This marki
client/cs/src/Proton.Sdk/Caching/CacheRepositoryExtensions.cs:105
↓ 1 callers
Method
MoveAsync
(VolumeId volumeId, LinkId linkId, MoveSingleLinkRequest request, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Api/Links/LinksApiClient.cs:28
↓ 1 callers
Method
MoveSingleAsync
( ProtonDriveClient client, NodeUid uid, NodeUid newParentUid, string? newName
client/cs/src/Proton.Drive.Sdk/Nodes/NodeOperations.cs:170
↓ 1 callers
Method
OpenForWriting
( ProtonDriveClient client, RevisionDraft draft, long queueToken)
client/cs/src/Proton.Drive.Sdk/Nodes/RevisionOperations.cs:11
↓ 1 callers
Method
PartiallyCopyToAsync
( this Stream source, Stream destination, int lengthToCopy, Memory<byte> sampl
client/cs/src/Proton.Drive.Sdk/StreamExtensions.cs:9
↓ 1 callers
Method
Pause
()
client/cs/src/Proton.Drive.Sdk/Nodes/Download/DownloadController.cs:44
↓ 1 callers
Method
Pause
()
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/UploadController.cs:39
↓ 1 callers
Method
PrepareBlockUploadAsync
(BlockUploadPreparationRequest request, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Api/Files/FilesApiClient.cs:38
↓ 1 callers
Method
QueueAndTryLoadBatchAsync
<summary> Queues an item for loading. If the queue size reaches the batch size, calls the load function, clears the queue, and returns the loaded item
client/cs/src/Proton.Drive.Sdk/BatchLoaderBase.cs:23
↓ 1 callers
Method
RefreshSessionAsync
( SessionId sessionId, string accessToken, string refreshToken, CancellationTo
incubating/account/cs/src/Proton.Drive.Sdk.Account/Api/Authentication/AuthenticationApiClient.cs:71
↓ 1 callers
Method
Remove
(string key)
client/cs/src/Proton.Sdk/Caching/InMemoryCacheRepository.cs:85
↓ 1 callers
Method
RemoveNameFromDeviceAsync
(DeviceUid deviceUid, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Api/Devices/DevicesApiClient.cs:26
↓ 1 callers
Method
RemoveNodeAsync
(NodeUid nodeUid, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Caching/DriveEntityCache.cs:136
↓ 1 callers
Method
RenameDeviceAsync
<summary> Renames an existing device. </summary>
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:341
↓ 1 callers
Method
RenameNodeAsync
(NodeUid uid, string newName, string? newMediaType, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:264
↓ 1 callers
Method
ResolveVolumeTypeAsync
( ProtonDriveClient client, NodeUid nodeUid, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Telemetry/TelemetryEventFactory.cs:89
↓ 1 callers
Method
RestoreMultipleAsync
( VolumeId volumeId, MultipleLinksNullaryRequest request, CancellationToken cancellati
client/cs/src/Proton.Drive.Sdk/Api/Files/TrashApiClient.cs:47
↓ 1 callers
Method
SendAsync
(HttpRequestMessage request, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Authentication/AuthorizationHandler.cs:15
↓ 1 callers
Method
SendAsync
(HttpRequestMessage request, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Http/HttpBodyLoggingHandler.cs:19
↓ 1 callers
Method
SetAccountKeyPassphraseAsync
(string keyId, ReadOnlyMemory<byte> passphrase, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Caching/SessionSecretCache.cs:9
↓ 1 callers
Method
SetAddressAsync
(Address address, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Caching/AccountEntityCache.cs:14
↓ 1 callers
Method
SetAddressKeysAsync
(AddressId addressId, IEnumerable<PgpPrivateKey> unlockedKeys, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Caching/AccountSecretCache.cs:31
↓ 1 callers
Method
SetCompleteCollection
( this ICacheRepository repository, IEnumerable<T> values, Func<T, string> getCacheKey
client/cs/src/Proton.Sdk/Caching/CacheRepositoryExtensions.cs:38
↓ 1 callers
Method
SetContentBlockPlainData
(int blockNumber, BlockUploadPlainData plainData)
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/RevisionDraft.cs:48
↓ 1 callers
Method
SetContentBlockUploadResult
(int blockNumber, BlockUploadResult blockUploadResult)
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/RevisionDraft.cs:71
↓ 1 callers
Method
SetCurrentUserAddressesAsync
(IEnumerable<Address> addresses, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Caching/AccountEntityCache.cs:28
↓ 1 callers
Method
SetIsCompleted
()
client/cs/src/Proton.Drive.Sdk/Nodes/Download/DownloadState.cs:65
↓ 1 callers
Method
SetPublicKeys
(string emailAddress, IReadOnlyList<PgpPublicKey> publicKeys)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Caching/PublicKeyCache.cs:13
↓ 1 callers
Method
SetThumbnailUploadResult
(ThumbnailType thumbnailType, BlockUploadResult result)
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/RevisionDraft.cs:63
↓ 1 callers
Method
SetUserKeysAsync
(IEnumerable<PgpPrivateKey> unlockedKeys, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Caching/AccountSecretCache.cs:15
↓ 1 callers
Method
Success
(T value)
client/cs/src/Proton.Sdk/Result.cs:47
↓ 1 callers
Method
ThumbnailBlockWasAlreadyUploaded
(ThumbnailType thumbnailType)
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/RevisionDraft.cs:86
↓ 1 callers
Method
ToDriveEvent
(this VolumeEventDto volumeEvent, VolumeId volumeId)
client/cs/src/Proton.Drive.Sdk/Api/Volumes/Events/VolumeEventDtoExtensions.cs:10
↓ 1 callers
Method
ToEnrichedProtonDriveError
(this JsonException e, ReadOnlyMemory<byte> json)
client/cs/src/Proton.Drive.Sdk/JsonExceptionExtensions.cs:7
↓ 1 callers
Method
ToLoggerFactory
(this ITelemetry telemetry)
client/cs/src/Proton.Sdk/Telemetry/TelemetryExtensions.cs:12
↓ 1 callers
Method
ToString
()
client/cs/src/Proton.Drive.Sdk/Api/Shares/ShareId.cs:20
↓ 1 callers
Method
ToString
()
client/cs/src/Proton.Drive.Sdk/Api/Files/RevisionId.cs:23
↓ 1 callers
Method
ToString
()
incubating/account/cs/src/Proton.Drive.Sdk.Account/Users/UserId.cs:23
↓ 1 callers
Method
ToString
()
incubating/account/cs/src/Proton.Drive.Sdk.Account/Api/Events/AccountEventId.cs:23
↓ 1 callers
Method
TrashMultipleAsync
( VolumeId volumeId, MultipleLinksNullaryRequest request, CancellationToken cancellati
client/cs/src/Proton.Drive.Sdk/Api/Files/TrashApiClient.cs:21
↓ 1 callers
Method
TryCreate
(string baseUidString, string relativeIdString, [NotNullWhen(true)] out TUid? uid)
client/cs/src/Proton.Drive.Sdk/Serialization/ICompositeUid.cs:8
↓ 1 callers
Method
TryEnter
(int count)
client/cs/src/Proton.Drive.Sdk/FifoFlexibleSemaphore.cs:21
↓ 1 callers
Method
TryGetAddressAsync
(AddressId addressId, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Caching/AccountEntityCache.cs:21
↓ 1 callers
Method
TryGetCompleteCollection
( this ICacheRepository repository, IReadOnlyList<string> tags, JsonTypeInfo<T> jsonTy
client/cs/src/Proton.Sdk/Caching/CacheRepositoryExtensions.cs:58
↓ 1 callers
Method
TryGetCurrentUserAddressesAsync
(CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Caching/AccountEntityCache.cs:38
↓ 1 callers
Method
TryGetExistingMyFilesFolderAsync
(ProtonDriveClient client, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Nodes/NodeOperations.cs:31
↓ 1 callers
Method
TryGetExistingPhotosFolderAsync
(ProtonDriveClient client, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Nodes/PhotosNodeOperations.cs:22
↓ 1 callers
Method
TryGetFileDownloader
(RevisionUid revisionUid)
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:238
↓ 1 callers
Method
TryGetFileRevisionUploader
( RevisionUid currentActiveRevisionUid, long size, FileUploadMetadata metadata)
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:216
↓ 1 callers
Method
TryGetFileUploader
( NodeUid parentFolderUid, string name, string mediaType, long size, F
client/cs/src/Proton.Drive.Sdk/ProtonDriveClient.cs:188
↓ 1 callers
Method
TryGetFileUploaderAsync
( string name, string mediaType, long size, PhotosFileUploadMetadata metadata,
client/cs/src/Proton.Drive.Sdk/ProtonPhotosClient.cs:49
↓ 1 callers
Method
TryGetMyFilesShareIdAsync
(CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Caching/DriveEntityCache.cs:68
↓ 1 callers
Method
TryGetNextContentBlockPlainData
( int? currentBlockNumber, [NotNullWhen(true)] out (int BlockNumber, BlockUploadPlainData Plai
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/RevisionDraft.cs:99
↓ 1 callers
Method
TryGetPhotosDownloader
(NodeUid photoUid)
client/cs/src/Proton.Drive.Sdk/ProtonPhotosClient.cs:104
↓ 1 callers
Method
TryGetPhotosShareIdAsync
(CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Caching/DriveEntityCache.cs:85
↓ 1 callers
Method
TryGetPublicKeys
(string emailAddress, [MaybeNullWhen(false)] out IReadOnlyList<PgpPublicKey> publicKeys)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Caching/PublicKeyCache.cs:18
↓ 1 callers
Method
TryGetRelevantFormattedErrorCode
(this Exception ex, [MaybeNullWhen(false)] out string formattedErrorCode)
client/cs/src/Proton.Drive.Sdk/ExceptionExtensions.cs:85
↓ 1 callers
Method
TryGetSecond
([NotNullWhen(true)] out T2? second)
client/cs/src/Proton.Drive.Sdk/Either.cs:42
↓ 1 callers
Method
TryGetShareAsync
(ShareId shareId, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Caching/DriveEntityCache.cs:102
↓ 1 callers
Method
TryGetShareKeyAsync
(ShareId shareId, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Caching/DriveSecretCache.cs:21
↓ 1 callers
Method
TryGetUserKeysAsync
(CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Caching/AccountSecretCache.cs:22
↓ 1 callers
Method
TryParse
(string s, [NotNullWhen(true)] out NodeUid? result)
client/cs/src/Proton.Drive.Sdk/Nodes/NodeUid.cs:26
↓ 1 callers
Method
UpdateRevisionAsync
( VolumeId volumeId, LinkId linkId, RevisionId revisionId, RevisionUpdateReque
client/cs/src/Proton.Drive.Sdk/Api/Files/FilesApiClient.cs:45
↓ 1 callers
Method
UpdateTime
(DateTimeOffset value)
client/cs/src/Proton.Sdk/Cryptography/CryptographyTimeProvider.cs:17
↓ 1 callers
Method
UploadBlobAsync
( BlockUploadPreparationRequest request, RecyclableMemoryStream dataPacketStream, Canc
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/BlockUploader.cs:200
↓ 1 callers
Method
UploadContentAsync
( RevisionDraft draft, int blockNumber, BlockUploadPlainData plainData, Action
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/BlockUploader.cs:33
↓ 1 callers
Method
UploadThumbnailAsync
(RevisionDraft draft, Thumbnail thumbnail, CancellationToken cancellationToken)
client/cs/src/Proton.Drive.Sdk/Nodes/Upload/BlockUploader.cs:144
↓ 1 callers
Method
Validate
(X509Certificate? certificate, X509Chain? chain)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Http/TlsRemoteCertificateValidator.cs:16
↓ 1 callers
Method
ValidateSecondFactorAsync
(string secondFactorCode, CancellationToken cancellationToken)
incubating/account/cs/src/Proton.Drive.Sdk.Account/Api/Authentication/AuthenticationApiClient.cs:45
← previous
next →
1,001–1,100 of 3,221, ranked by callers