Initialize a sandbox with the trial properties for licencing.


GML Code Example


Argument Description
xml The xml that defines the sandbox licence, as a string.

Returns: N/A


This function enables a sandbox environment in which you can test the Trial Play features of your game on Windows 8. The function takes a string containing the XML that will define the sandbox. You can find complete details of all the possible settings from Microsoft here and the example code below gives a basic working string that you can use as a base.


GML Code Example

var license;
 license = '<?xml version="1.0" encoding="utf-16" ?>
          <MarketData xml:lang="en-us">

The above code will create a sandbox to trial play your game, using the given string as the XML template.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here