Resolutions and Window Size

I have a game for android devices. And it has portrait orientation.
I want to port it to the PC. But standalone build has landscape orientation just like a 1920/1080. How can i set up resolutions like a 480x800?

Use Screen.SetResolution