Metro style apps cannot get information about the system like that.
You should use your windows' bounds instead.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?