Reputation: 1691
Is there any subsitute of getenv function under WinRT?
Or maybe it's not possible to access environment variables at all?
Upvotes: 4
Views: 1032
Reputation: 1735
I believe it is not possible to retrieve environment variables from a WinRT app. However, your app has a local, roaming, and temp folder available to it. Windows.Storage.ApplicationData.Current has all the root folders you need to create/read/delete files and folders in your app's folders.
Upvotes: 1