Retrieves the SecureDeviceAssociation object identified by a specified combination of local and remote hosts and ports.
Returns the previously established Secure Device Association for the given combination of remote and local address and port tuples.
public:
static SecureDeviceAssociation^ GetAssociationByHostNamesAndPorts(
HostName^ remoteHostName,
String^ remotePort,
HostName^ localHostName,
String^ localPort
)
remoteHostName
Type: HostName
Hostname of the remote host.
remotePort
Type: String
Port number on the remote host.
localHostName
Type: HostName
Hostname of the local host.
localPort
Type: String
Port number on the local host.
Type: SecureDeviceAssociation
Namespace: Windows.Xbox.Networking
Metadata: windows.winmd