public class Test public Shared Sub Main Console.WriteLine(System.Windows.Forms.SystemInformation.PrimaryMonitorMaximizedWindowSize) End Sub End class