Share via


PeerFinder.AllowInfrastructure Property

Definition

Specifies whether the PeerFinder class may connect to a StreamSocket object using TCP/IP.

public:
 static property bool AllowInfrastructure { bool get(); void set(bool value); };
static bool AllowInfrastructure();

static void AllowInfrastructure(bool value);
public static bool AllowInfrastructure { get; set; }
var boolean = PeerFinder.allowInfrastructure;
PeerFinder.allowInfrastructure = boolean;
Public Shared Property AllowInfrastructure As Boolean

Property Value

Boolean

bool

True if the PeerFinder class may connect to a StreamSocket object using TCP/IP; otherwise false.

Windows requirements

App capabilities
ID_CAP_NETWORKING [Windows Phone] proximity ID_CAP_PROXIMITY [Windows Phone]

Applies to