Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Mono.Posix.dll not available in mobile profiles (iOS and Android)?

$
0
0

Hi

I would use Mono.Unix.Native for something like this:

 Mono.Unix.Native.Utsname results;
 var res = Mono.Unix.Native.Syscall.uname(out results);

But I don't see Mono.Posix.dll where Mono.Unix.Native resides. Or do I have to grab glasses?

Basic idea came from:

 #import <sys/utsname.h>

 NSString*
 machineName()
 {
   struct utsname systemInfo;
   uname(&systemInfo);

   return [NSString stringWithCString:systemInfo.machine
                             encoding:NSUTF8StringEncoding];
  }

And for iOS gurus - would this be too deep for Apple (to be approved for app submission)??


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>