DeviceInfo Event
Fired once for each device found when calling ListDevices.
Syntax
public event OnDeviceInfoHandler OnDeviceInfo; public delegate void OnDeviceInfoHandler(object sender, BtinfoDeviceInfoEventArgs e); public class BtinfoDeviceInfoEventArgs : EventArgs { public string Name { get; } public string Address { get; } public string ClassOfDevice { get; } public bool Connected { get; } public bool Remembered { get; } public bool Authenticated { get; } }
Public Event OnDeviceInfo As OnDeviceInfoHandler Public Delegate Sub OnDeviceInfoHandler(sender As Object, e As BtinfoDeviceInfoEventArgs) Public Class BtinfoDeviceInfoEventArgs Inherits EventArgs Public ReadOnly Property Name As String Public ReadOnly Property Address As String Public ReadOnly Property ClassOfDevice As String Public ReadOnly Property Connected As Boolean Public ReadOnly Property Remembered As Boolean Public ReadOnly Property Authenticated As Boolean End Class
Remarks
This event fires once for each device found when calling ListDevices.
Name is the device name.
Address is the device address.
ClassOfDevices is the class of the device.
Connected indicates whether the device is connected.
Remembered indicates whether the device is remembered.
Authenticated indicates whether the device is authenticated.