Share via


RfcommConnectionTrigger.RemoteHostName Property

Definition

Gets or sets specific remote Bluetooth device the system will connect to, or accept connections from, on behalf of the app.

public:
 property HostName ^ RemoteHostName { HostName ^ get(); void set(HostName ^ value); };
HostName RemoteHostName();

void RemoteHostName(HostName value);
public HostName RemoteHostName { get; set; }
var hostName = rfcommConnectionTrigger.remoteHostName;
rfcommConnectionTrigger.remoteHostName = hostName;
Public Property RemoteHostName As HostName

Property Value

Gets or sets specific remote Bluetooth device the system will connect to, or accept connections from, on behalf of the app. If this property is not set, the system will connect to and/or accept connections from any paired Bluetooth device that supports the relevant service.

Applies to