Click or drag to resize

KeeperEndpointExtensionsExecuteV2CommandTC, TR(IKeeperEndpoint, TC) Method

Executes Keeper JSON command. Generic version.

Namespace: KeeperSecurity.Authentication
Assembly: KeeperSdk (in KeeperSdk.dll) Version: 1.0.5-beta11
Syntax
C#
public static Task<TR> ExecuteV2Command<TC, TR>(
	this IKeeperEndpoint endpoint,
	TC request
)
where TC : KeeperApiCommand
where TR : KeeperApiResponse

Parameters

endpoint  IKeeperEndpoint
Keeper endpoint interface.
request  TC
Keeper Protobuf Request.

Type Parameters

TC
Keeper Protobuf Request Type.
TR
Keeper Protobuf Response Type.

Return Value

TaskTR
Task returning Protobuf Response.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IKeeperEndpoint. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also