title: Get screen resolutions in a C# class (no forms/wpf/aps.net/...)
body: <p>I don't know the .NET framework (4.5) well enough, so here's a question I can't find an answer to.</p>
  
  <p>How do I get the screen resolution of the primary screen when not working with windows forms or any other graphical environment like WPF, Silverlight, ASP.NET, etc?
  I'm trying to get the resolution in a class library (dll) and pass it on from there.</p>
  
  <p>Does .NET have such functionality?</p>