Creates a SecureDeviceAddress object for a given hostname or IP address
public:
static SecureDeviceAddress^ CreateDedicatedServerAddress(
String^ hostnameOrAddress
)
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.
Type: SecureDeviceAddress
A SecureDeviceAddress that encapsulates the hostnameOrAddress specified.
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.
Namespace: Windows.Xbox.Networking
Metadata: windows.winmd