PeerFinder.AllowInfrastructure Propiedad

Definición

Especifica si la clase PeerFinder puede conectarse a un objeto StreamSocket mediante 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

Valor de propiedad

Boolean

bool

True si la clase PeerFinder puede conectarse a un objeto StreamSocket mediante TCP/IP; de lo contrario, false.

Requisitos de Windows

Características de aplicaciones
ID_CAP_NETWORKING [Windows Phone] proximity ID_CAP_PROXIMITY [Windows Phone]

Se aplica a