Describes the allowed usage of a SecureDeviceSocket.
[FlagsAttribute]
public enum class SecureDeviceSocketUsage
The value of SecureDeviceSocketDescription.AllowedUsages is a bitwise-OR combination of values from this enumeration.
Note that chat and game data usages (ReceiveChat and SendChat, ReceiveGameData and SendGameData) indicate the intention to use secure communications, while the debug usages (ReceiveDebug and SendDebug) indicate the intention to send traffic in the clear. Traffic will be silently blocked for templates specifying chat or game data usages when no SecureDeviceAssociation is created for that template, regardless of whether debug usage has been specified for the template.
ReceiveDebug and SendDebug are only valid on development consoles. Use them for sockets that connect to tools and debuggers.
| Member | Value | Description |
|---|---|---|
| Accept | 2 | Accepts connections |
| Initiate | 1 | Initiates connections |
| ReceiveChat | 65536 | Receives voice chat data |
| ReceiveDebug | 262144 | Receives debug data (for development only, used for tools) |
| ReceiveGameData | 131072 | Receives game data |
| SendChat | 256 | Sends voice chat data |
| SendDebug | 1024 | Sends debug data (for development only, used for tools) |
| SendGameData | 512 | Sends game data |
Namespace: Windows.Xbox.Networking
Metadata: windows.winmd