AntRadioSetCryptoKey Method
Sets the crypto key.
Namespace: SmallEarthTech.AntUsbStickAssembly: SmallEarthTech.AntUsbStick (in SmallEarthTech.AntUsbStick.dll) Version: 3.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
public bool SetCryptoKey(
byte volatileKeyIndex,
byte[] encryptionKey,
uint responseWaitTime = 0
)
Public Function SetCryptoKey (
volatileKeyIndex As Byte,
encryptionKey As Byte(),
Optional responseWaitTime As UInteger = 0
) As Boolean
public:
virtual bool SetCryptoKey(
unsigned char volatileKeyIndex,
array<unsigned char>^ encryptionKey,
unsigned int responseWaitTime = 0
) sealed
abstract SetCryptoKey :
volatileKeyIndex : byte *
encryptionKey : byte[] *
?responseWaitTime : uint32
(* Defaults:
let _responseWaitTime = defaultArg responseWaitTime 0
*)
-> bool
override SetCryptoKey :
volatileKeyIndex : byte *
encryptionKey : byte[] *
?responseWaitTime : uint32
(* Defaults:
let _responseWaitTime = defaultArg responseWaitTime 0
*)
-> bool
- volatileKeyIndex Byte
- Index of the volatile key.
- encryptionKey Byte
- The encryption key.
- responseWaitTime UInt32 (Optional)
- The response wait time in milliseconds. The default is 0ms.
Boolean
true if successful
ICryptoSetCryptoKey(Byte, Byte, UInt32)