Files
2019-07-04 22:44:53 +01:00

22 lines
476 B
C#

using System;
using System.Runtime.InteropServices;
namespace IOBluetooth
{
public partial class BluetoothDevice
{
public BluetoothDeviceAddress Address
{
get
{
return (BluetoothDeviceAddress)Marshal.PtrToStructure(GetAddress(), typeof(IOBluetooth.BluetoothDeviceAddress));
}
}
public override string ToString()
{
return this.NameOrAddress;
}
}
}