IAsyncImapClient.GetFolderInfoAsync

IAsyncImapClient.GetFolderInfoAsync method

Returns information about the specified folder without selecting it

public Task<ImapFolderInfo> GetFolderInfoAsync(string folderName, IConnection connection = null, 
    CancellationToken token = default)
ParameterTypeDescription
connectionStringConnection to a server
folderNameIConnectionFolder to retrieve information about
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

The specified folder information

See Also