Page 1 of 1

What platform do I run on

PostPosted: Mon Oct 04, 2010 1:45 pm
by akr
I am not sure who asked me that but you can find out if u run on iphone or other devices:

if(strcmp(getHardwareID(),"iPhone OS")==0) then you are running on IPhone.

On windows plattforms it will return a serial number string as intended.

andreas

Re: What platform do I run on

PostPosted: Mon Oct 04, 2010 7:12 pm
by skydereign
I know I asked that, so thanks. That will help, but can it only tell on mobile devices? I guess it really doesn't matter if I can assume that if it returns null, then it is a computer... right?