IP*Works! Bluetooth - Online Help
Available for:
IP*Works! Bluetooth
Questions / Feedback?

AuthRequest Event

Fired when a device requeqsts authentication.

Syntax

[VB.NET]
Public Event OnAuthRequest As OnAuthRequestHandler
[C#]
public event OnAuthRequestHandler OnAuthRequest;

public delegate void OnAuthRequestHandler(object sender, BtinfoAuthRequestEventArgs e);

class BtinfoAuthRequestEventArgs : EventArgs {
  string Address {get;}
  string Name {get;}
  string Password {get; set;}
  bool Accept {get; set;}
}

Remarks

This event fires when a device requests authentication. This will only fire if StartAuthMonitor has been previously called.

Address holds the Bluetooth address. For instance "00:02:72:C6:64:B7".

Name is the name of the device.

Password defines the password to be sent back to the device. This parameter will always be empty when the event fires and must be set within the event.

Accept specifies whether to accept the request. The default value is False. This must be set to True within this event to accept the request.

 
 
Copyright (c) 2016 /n software inc. - All rights reserved.
Build 1.0.6093.0