Retrieves the SecureDeviceAssociation object identified by the socket address byte array pair.
This function returns the previously established Xbox Secure Device Association for the remote and local socket address IP address and port tuples indicated in the specified byte arrays. The byte arrays must contain SOCKADDR_STORAGE structures.
public:
static SecureDeviceAssociation^ GetAssociationBySocketAddressBytes(
Array<unsigned char>^ remoteSocketAddressBytes,
Array<unsigned char>^ localSocketAddressBytes
)
remoteSocketAddressBytes
Type: unsigned char
The pointer to the remote socket address byte array.
localSocketAddressBytes
Type: unsigned char
The pointer to the local socket address byte array.
Type: SecureDeviceAssociation
The SecureDeviceAssociation object identified.
Namespace: Windows.Xbox.Networking
Metadata: windows.winmd