4

WinRT下有没有getenv函数的替代品?

或者可能根本无法访问环境变量?

4

1 回答 1

1

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.

于 2012-08-10T10:35:01.217 回答