IPWorks Bluetooth 2020 C++ Builder Edition

Questions / Feedback?

ResolveName Method

Resolves a device name to an address.

Syntax

String __fastcall ResolveName(String HostName);

Remarks

This method resolves a device name to a Bluetooth address. The Bluetooth address is returned by this method. For instance:

Console.WriteLine(btinfo.ResolveName("MYPHONE"));
Note: In Windows the component will internally call ListDevices (if it has not already been called by user code) and search the results to find the corresponding address. The additional step of listing devices is required because directly resolving a name to an address is not supported on Windows.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Bluetooth 2020 C++ Builder Edition - Version 20.0 [Build 7941]