SecureDeviceAssociation Members

SecureDeviceAssociation has the following members.

Public Properties

  Name Description
LocalHostName Hostname of the local host in this SecureDeviceAssociation
LocalPort Retrieves the port string of the local socket.
RemoteHostName Hostname of the remote host in this SecureDeviceAssociation.
RemotePort The port string on the remote device for the socket.
RemoteSecureDeviceAddress Retrieves the SecureDeviceAddress of the remote device.
State Retrieves the current SecureDeviceAssociation object state.
Template Retrieves the SecureDeviceAssociationTemplate used to create the SecureDeviceAssociation.

Public Methods

  Name Description
DestroyAsync Begins destroying the SecureDeviceAssociation gracefully.
  GetAssociationByHostNamesAndPorts Retrieves the SecureDeviceAssociation object identified by a specified combination of local and remote hosts and ports.
  GetAssociationBySocketAddressBytes Retrieves the SecureDeviceAssociation object identified by the socket address byte array pair.
GetLocalSocketAddressBytes Fills in a byte array with the local socket address.
GetRemoteSocketAddressBytes Fills in a byte array with the remote socket address.

Public Events

  Name Description
StateChanged Event raised when the SecureDeviceAssociation’s state changes.

See also

Reference

SecureDeviceAssociation Class

Windows.Xbox.Networking Namespace