Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.37 KB

xboxlivedeviceaddress_createfromsnapshotbase64_1754636274.md

File metadata and controls

37 lines (22 loc) · 1.37 KB
-api-id -api-type
M:Windows.Networking.XboxLive.XboxLiveDeviceAddress.CreateFromSnapshotBase64(System.String)
winrt method

Windows.Networking.XboxLive.XboxLiveDeviceAddress.CreateFromSnapshotBase64

-description

Creates an XboxLiveDeviceAddress object from a snapshot stored in Base64 encoding.

Use this method to create an XboxLiveDeviceAddress from the Base64-encoded snapshot returned from an earlier call to XboxLiveDeviceAddress.GetSnapshotAsBase64.

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.

-parameters

-param base64

A Base64-encoded snapshot representing an XboxLiveDeviceAddress.

-returns

The XboxLiveDeviceAddress represented by the snapshot.

-remarks

The Base64-encoded snapshot is expected to originate from a previous call to GetSnapshotAsBase64 on the local or remote device, without modification. If the contents of the snapshot have been altered or corrupted, then an XboxLiveDeviceAddress object is returned, but the IsValid property is false; and attempts to use the XboxLiveDeviceAddress to create an endpoint pair will fail.

-examples

-see-also