C#: Is 64bit operating system cross platform (windows, unix, mac) Net 2.0 -


I want to use the Net 2.0 framework through C #, if my operating system is 32 bit or 64 bit .

I can not use the environment ISB 64 operating system, because only valid on Net 4 and above.

Y country DLL can not use Windows freakation or registry properties, because it is only valid for Windows.

Works for Linux (Unix and Mac) Is:

  Fixed string GetLinuxArchitectureType () {Mono.Unix.Native.Utsname result; Int Ridge = Mono Unix met. Sisk .. (Outcome); If (RAC & lt; 0) return "N / A"; Return result. Machin; }  

Comments