
- 235 -
KeyIndex
Sets or acquires the key index used during communication.
■ Syntax
[VB]
Public Property KeyIndex As Integer
[C#]
public int KeyIndex {set; get;}
■ Property
The key index used by the profile during communication
Parameter values
: 1 to 4
■ Exceptions
Name of Exception Meaning
ArgumentException The setting lies outside the range.
DeviceLoadException The device is not ready.
The edit mode has not been set to Zero Config mode.
MissingMethodException Profile not supported.
Set from RF.WepKey.TransmitKey.
■ Note
The key index can only be set or acquired when the edit mode (RF.EditMode) is set to Zero
Config mode. An exception is thrown if an attempt is made to set or acquire when in Nic
Control mode. Set the RF.EditMode value to EN_EDIT_MODE.ZEROCONFIG.
[Ex.] Setting the key index to “2”
[VB] MyProf.KeyIndex = 2
[C#] MyProf.KeyIndex = 2;
Comentários a estes Manuais