I believe that it is not possible to extract environment variables from a WinRT application. However, your application has a local, roaming and temporary folder available to it. Windows.Storage.ApplicationData.Current has all the root folders needed to create / read / delete files and folders in application folders.
source share