
Open
Opens or closes wireless communication.
■ Syntax
[VB]
Public Property Open As Boolean
[C#]
public bool Open{get; set;}
■ Property
Wireless communication open (= True), close (= False)
If wireless communication is achieved by setting OpenMode to
EN_OPEN_MODE.NORMAL, the status achieved by setting OpenMode to
EN_OPEN_MODE.NORMAL will be returned.
If wireless communication is achieved by setting OpenMode to
EN_OPEN_MODE.CONTINUOUSLY, the status achieved by setting OpenMode to
EN_OPEN_MODE.CONTINUOUSLY will be returned.
Default value
: False
■ Exceptions
Name of Exception Meaning
DeviceNotFoundException The specified device does not exist.
ArgumentException The value specified for OpenMode is abnormal.
SecurityException The Bluetooth device is opened.
■ Note
Wireless LAN and Bluetooth device cannot be opened at the same time. If wireless LAN
device tries to be opened while Bluetooth device is opened, an exception is thrown.
[Ex.] Open a wireless connection.
[VB] MyRf.Open = True
[C#] MyRf.Open = true;
216
Kommentare zu diesen Handbüchern