Share via


XboxLiveNetworkAccessKind Enum

Definition

Defines constants that specify the different levels of peer-to-peer network access observed for XboxLiveEndpointPair communication. XboxLiveNetworkAccessKind is used to describe peer-to-peer connections established through the Xbox Live Multiplayer Networking API, and is not applicable to connections to Xbox Live web services or to peer-to-peer connections established outside of the Xbox Live Multiplayer Networking API.

Important

This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.

public enum class XboxLiveNetworkAccessKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Networking.XboxLive.XboxLiveSecureSocketsContract, 65536)]
enum class XboxLiveNetworkAccessKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Networking.XboxLive.XboxLiveSecureSocketsContract), 65536)]
public enum XboxLiveNetworkAccessKind
var value = Windows.Networking.XboxLive.XboxLiveNetworkAccessKind.open
Public Enum XboxLiveNetworkAccessKind
Inheritance
XboxLiveNetworkAccessKind
Attributes

Windows requirements

Device family
Xbox One System Apps Extensions for the UWP (introduced in 10.0.0.1)
Xbox Live Extension SDK (introduced in 10.0.10240.0)
Xbox One Extensions for the UWP (introduced in 10.0.10240.0)
Windows Desktop Extension SDK (introduced in 10.0.16299.0)
API contract
Windows.Networking.XboxLive.XboxLiveSecureSocketsContract (introduced in v1.0)

Fields

Moderate 1

NAT type is moderate. Players behind these NAT types can usually connect to others behind Open or Moderate types.

Open 0

NAT type is open. Players behind these network address translation (NAT) types can usually connect to any other player.

Strict 2

NAT type is strict. Players behind this NAT type frequently experience connectivity problems with others unless those players are behind Open type devices.

Applies to