DiscoverySenderHelperLoadKeyAsync - метод
Пространство имён: Tessa.Discovery.SendersСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public static Task<DiscoveryKey> LoadKeyAsync(
IDiscoveryKeySerializer keySerializer,
string keyPath,
string keyPassword,
CancellationToken cancellationToken = default
)
Public Shared Function LoadKeyAsync (
keySerializer As IDiscoveryKeySerializer,
keyPath As String,
keyPassword As String,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of DiscoveryKey)
public:
static Task<DiscoveryKey^>^ LoadKeyAsync(
IDiscoveryKeySerializer^ keySerializer,
String^ keyPath,
String^ keyPassword,
CancellationToken cancellationToken = CancellationToken()
)
static member LoadKeyAsync :
keySerializer : IDiscoveryKeySerializer *
keyPath : string *
keyPassword : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<DiscoveryKey>
- keySerializer IDiscoveryKeySerializer
- keyPath String
- Key file path.
- keyPassword String
- Key file password.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskDiscoveryKey