ICryptoSetCryptoKey Method
Sets the crypto key.
Namespace: SmallEarthTech.AntRadioInterfaceAssembly: SmallEarthTech.AntRadioInterface (in SmallEarthTech.AntRadioInterface.dll) Version: 3.0.0.0+01fc5ca24e8f030354f28ec9cef320bc5cbb0ef6
bool SetCryptoKey(
byte volatileKeyIndex,
byte[] encryptionKey,
uint responseWaitTime = 0
)
Function SetCryptoKey (
volatileKeyIndex As Byte,
encryptionKey As Byte(),
Optional responseWaitTime As UInteger = 0
) As Boolean
bool SetCryptoKey(
unsigned char volatileKeyIndex,
array<unsigned char>^ encryptionKey,
unsigned int responseWaitTime = 0
)
abstract 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