-api-id | -api-type |
---|---|
M:Windows.Networking.XboxLive.XboxLiveEndpointPair.FindEndpointPairByHostNamesAndPorts(Windows.Networking.HostName,System.String,Windows.Networking.HostName,System.String) |
winrt method |
Finds an existing XboxLiveEndpointPair instance, if one exists, associated with traffic from a first host and port to a second host and port.
Use this method to work backwards from incoming traffic to the XboxLiveEndpointPair that's associated with that traffic.
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.
The HostName of the local end of the endpoint pair.
The port number of the local end of the endpoint pair.
The HostName of the remote end of the endpoint pair.
The port number of the remote end of the endpoint pair.
The XboxLiveEndpointPair that corresponds to the endpoints specified, or a null pointer if no such endpoint pair is found.