The output of Environment.GetEnvironmentVariable ("PROCESSOR_ARCHITECTURE") and OperatingSystem.Platform on Windows RT

I am writing a cross-platform application and I really need some basic system information. Not only to switch it (I could use compilation variables, since I have the same code linked in projects specific to the platform).

So donโ€™t tell me that knowing platform and architecture information is useless:
Windows RT and C #

Can someone provide me this information because I donโ€™t have an easy way to get it by myself (I donโ€™t have an emulator / device to work, I use a netbook with Linux installed on it, so there is no VT-d option, etc. .).

PS Please just do not post something like: "use qemu, use xxx, yyyy", etc. Think that someone might also look for this information.

+1
source share
1 answer

Conclusion "set" on the surface of RT

  ALLUSERSPROFILE = C: \ ProgramData
 APPDATA = C: \ Users \ [user] \ AppData \ Roaming
 CommonProgramFiles = C: \ Program Files \ Common Files
 COMPUTERNAME = SURFACE
 ComSpec = C: \ windows \ system32 \ cmd.exe
 FP_NO_HOST_CHECK = NO
 HOMEDRIVE = C:
 HOMEPATH = \ Users \
 LOCALAPPDATA = C: \ Users \ [user] \ AppData \ Local
 LOGONSERVER = \\ MicrosoftAccount
 NUMBER_OF_PROCESSORS = 4
 OS = Windows_NT
 Path = C: \ windows \ system32; C: \ windows; C: \ windows \ System32 \ Wbem; C: \ windows \ System32 \ WindowsPowerShell \ v1.0 \
 PATHEXT = .COM; .EXE; .BAT; .CMD; .VBS; .VBE; .JS; .JSE; .WSF; .WSH; .MSC
 PROCESSOR_ARCHITECTURE = ARM
 PROCESSOR_IDENTIFIER = ARM Family 7 Model C09 Revision 209, NVIDIA
 PROCESSOR_LEVEL = 3081
 PROCESSOR_REVISION = 0209
 ProgramData = C: \ ProgramData
 ProgramFiles = C: \ Program Files
 PROMPT = $ P $ G
 PSModulePath = C: \ windows \ system32 \ WindowsPowerShell \ v1.0 \ Modules \
 PUBLIC = C: \ Users \ Public
 SESSIONNAME = Console
 SystemDrive = C:
 SystemRoot = C: \ windows
 TEMP = C: \ Users \ [user] \ AppData \ Local \ Temp
 TMP = C: \ Users \ [user] \ AppData \ Local \ Temp
 USERDOMAIN = SURFACE
 USERDOMAIN_ROAMINGPROFILE = SURFACE
 USERNAME =
 USERPROFILE = C: \ Users \ [user]
 windir = C: \ windows

Good and the meaning of the platform:

  PS C: \ Users \ [user]> [system.environment] :: OSVersion.Platform
 Win32nt

Please note that this is from the desktop. For dive / subway apps, you probably need a different api.

+3
source

All Articles