Current Desktop Resolution

Is there a way I can set Unity app resolution to the current desktop´s resolution during runtime (at startup) without using that input/resolution window?

http://unity3d.com/support/documentation/ScriptReference/Screen-resolutions.html

http://unity3d.com/support/documentation/ScriptReference/Screen.SetResolution.html