SecureDeviceAddress.CreateDedicatedServerAddress Method

Creates a SecureDeviceAddress object for a given hostname or IP address

Syntax

public:
static SecureDeviceAddress^ CreateDedicatedServerAddress(
         String^ hostnameOrAddress
)  

Parameters

hostnameOrAddress
Type: String 

  The hostname or IP address of a third-party dedicated server. This value should be either a fully-qualified Domain Name System (DNS) hostname or an IPv4 or IPv6 address string.

Return value

Type: SecureDeviceAddress 

A SecureDeviceAddress that encapsulates the hostnameOrAddress specified.

Remarks

Use CreateDedicatedServerAddress to create a SecureDeviceAddress for a server that your title will communicate with using the Secure Sockets API.

The address returned by CreateDedicatedServerAddress cannot be used to establish peer-to-peer connections to other consoles; those must be created using addresses from multiplayer or matchmaking services.

Requirements

Namespace: Windows.Xbox.Networking

Metadata: windows.winmd

See also

Reference

SecureDeviceAddress Class

SecureDeviceAddress Members

Windows.Xbox.Networking Namespace