コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the BluetoothEndPoint class with the specified address and service.
 /// </summary>
 /// <param name="address">The Bluetooth address of the device.</param>
 /// <param name="service">The Bluetooth service to use.</param>
 /// <param name="port">Optional port number.</param>
 public BluetoothEndPoint(BluetoothAddress address, Guid service, int port = 0) : this(address.ToUInt64(), service, port)
 {
 }
コード例 #2
0
ファイル: BluetoothEndpoint.cs プロジェクト: suhuide/32feet
 /// <summary>
 /// Initializes a new instance of the BluetoothEndPoint class with the specified address and service.
 /// </summary>
 /// <param name="address">The Bluetooth address of the device.</param>
 /// <param name="service">The Bluetooth service to use.</param>
 public BluetoothEndPoint(BluetoothAddress address, Guid service) : this(address.ToUInt64(), service)
 {
 }