IPWorks Bluetooth 2020 .NET Edition

Questions / Feedback?

ResolveName Method

Resolves a device name to an address.

Syntax

public string ResolveName(string hostName);
Public Function ResolveName(ByVal HostName As String) As String

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 .NET Edition - Version 20.0 [Build 7941]