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)??