Share via


PeerFinder.AllowInfrastructure Propriété

Définition

Spécifie si la classe PeerFinder peut se connecter à un objet StreamSocket à l’aide de 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

Valeur de propriété

Boolean

bool

True si la classe PeerFinder peut se connecter à un objet StreamSocket à l’aide de TCP/IP ; sinon, false.

Configuration requise pour Windows

Fonctionnalités de l’application
ID_CAP_NETWORKING [Windows Phone] proximity ID_CAP_PROXIMITY [Windows Phone]

S’applique à