
- 230 -
Authentication
Sets or acquires the profile authentication method.
■ Syntax
[VB]
Public Property Authentication As EN_AUTHENTICATION
[C#]
public EN_AUTHENTICATION Authentication {get; set;}
■ Property
Profile authentication method
Parameter values
: As listed in EN_AUTHENTICATION
EN_AUTHENTICATION.WPAPSK is only supported on units running
on Windows CE 5.0.
Default value
: EN_AUTHENTICATION.OPEN
■ Exceptions
Name of Exception Meaning
ArgumentException The specified parameter value(s) lies outside the permissible
range.
DeviceLoadException The device is not ready.
The edit mode has not been set to Zero Config mode.
MissingMethodException Profile not supported.
■ Note
The profile authentication method 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.] Set the MyProf profile authentication method to Open.
[VB] MyProf.Authentication = RF.Profile.EN_AUTHENTICATION.OPEN
[C#] MyProf.Authentication = RF.Profile.EN_AUTHENTICATION.OPEN;
Kommentare zu diesen Handbüchern