Metro store data in Windows 8
var localSettings = Windows.Storage.ApplicationData.current.localSettings; localSettings.values["name"] = "guanrl"; console.log("test:" + localSettings.values["name"]);