ServiceInfo Event
Fired once for each service found when calling ListServices.
Syntax
[VB.NET] Public Event OnServiceInfo As OnServiceInfoHandler
[C#] public event OnServiceInfoHandler OnServiceInfo; public delegate void OnServiceInfoHandler(object sender, BtinfoServiceInfoEventArgs e); class BtinfoServiceInfoEventArgs : EventArgs { string Name {get;} string ClassId {get;} string Comment {get;} string Protocol {get;} string Address {get;} int Port {get;} }
Remarks
This event fires once for each service found when calling ListServices.
Name is the name of the service.
ClassId is the service class Id (UUID).
Comment holds a comment (if any).
Protocol specifies the protocol. Possible values are "RFCOMM" and "L2CAP".
Address is the address of the service. For instance "00:02:72:C6:64:B7".
Port is the port number on which the service is listening.