ICryptoSet Crypto Key Method
Sets the crypto key.
Definition
Namespace: SmallEarthTech.AntRadioInterface
Assembly: SmallEarthTech.AntRadioInterface (in SmallEarthTech.AntRadioInterface.dll) Version: 5.0.3+bee07ae1f518f90000e3a8eef95ac61052778db9
true if successful
Assembly: SmallEarthTech.AntRadioInterface (in SmallEarthTech.AntRadioInterface.dll) Version: 5.0.3+bee07ae1f518f90000e3a8eef95ac61052778db9
C#
bool SetCryptoKey(
byte volatileKeyIndex,
byte[] encryptionKey,
uint responseWaitTime = 0
)VB
Function SetCryptoKey (
volatileKeyIndex As Byte,
encryptionKey As Byte(),
Optional responseWaitTime As UInteger = 0
) As BooleanC++
bool SetCryptoKey(
unsigned char volatileKeyIndex,
array<unsigned char>^ encryptionKey,
unsigned int responseWaitTime = 0
)F#
abstract SetCryptoKey :
volatileKeyIndex : byte *
encryptionKey : byte[] *
?responseWaitTime : uint32
(* Defaults:
let _responseWaitTime = defaultArg responseWaitTime 0
*)
-> bool Parameters
- 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.
Return Value
Booleantrue if successful