views:

476

answers:

1

I'm making an App using Adobe Flex/Air. I was wondering if there was a way to get the Operating System the Air app is running on? Thanks.

+6  A: 

Use Capabilities class:

import flash.system.Capabilities;

trace(Capabilities.os);
zdmytriv
This is available in flash too :) not just in AIR :)
Adrian Pirvulescu