SecureDeviceAssociation.GetAssociationBySocketAddressBytes Method

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.

Syntax

public:
static SecureDeviceAssociation^ GetAssociationBySocketAddressBytes(
         Array<unsigned char>^ remoteSocketAddressBytes,
         Array<unsigned char>^ localSocketAddressBytes
)  

Parameters

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.

Return value

Type: SecureDeviceAssociation 

The SecureDeviceAssociation object identified.

Requirements

Namespace: Windows.Xbox.Networking

Metadata: windows.winmd

See also

Reference

SecureDeviceAssociation Class

SecureDeviceAssociation Members

Windows.Xbox.Networking Namespace