Get Current Operating System In Adobe Air

Joel picture Joel · Jun 30, 2009 · Viewed 14.5k times · Source

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

Answer

tefozi picture tefozi · Jun 30, 2009

Use Capabilities class:

import flash.system.Capabilities;

trace(Capabilities.os);