Print all System Information : SystemInfo « Development Class « C# / C Sharp






Print all System Information

 


using System;
using System.Drawing;
using System.Windows.Forms;

class SysInfoStrings
{
     public static string[] Values
     {
          get 
          { 
              return new string[] 
              {
              SystemInformation.ArrangeDirection.ToString(),
              SystemInformation.ArrangeStartingPosition.ToString(),
              SystemInformation.BootMode.ToString(),
              SystemInformation.Border3DSize.ToString(),
              SystemInformation.BorderSize.ToString(),
              SystemInformation.CaptionButtonSize.ToString(),
              SystemInformation.CaptionHeight.ToString(),
              SystemInformation.ComputerName,
              SystemInformation.CursorSize.ToString(),
              SystemInformation.DbcsEnabled.ToString(),
              SystemInformation.DebugOS.ToString(),
              SystemInformation.DoubleClickSize.ToString(),
              SystemInformation.DoubleClickTime.ToString(),
              SystemInformation.DragFullWindows.ToString(),
              SystemInformation.DragSize.ToString(),
              SystemInformation.FixedFrameBorderSize.ToString(),
              SystemInformation.FrameBorderSize.ToString(),
              SystemInformation.HighContrast.ToString(),
              SystemInformation.HorizontalScrollBarArrowWidth.ToString(),
              SystemInformation.HorizontalScrollBarHeight.ToString(),
              SystemInformation.HorizontalScrollBarThumbWidth.ToString(),
              SystemInformation.IconSize.ToString(),
              SystemInformation.IconSpacingSize.ToString(),
              SystemInformation.KanjiWindowHeight.ToString(),
              SystemInformation.MaxWindowTrackSize.ToString(),
              SystemInformation.MenuButtonSize.ToString(),
              SystemInformation.MenuCheckSize.ToString(),
              SystemInformation.MenuFont.ToString(),
              SystemInformation.MenuHeight.ToString(),
              SystemInformation.MidEastEnabled.ToString(),
              SystemInformation.MinimizedWindowSize.ToString(),
              SystemInformation.MinimizedWindowSpacingSize.ToString(),
              SystemInformation.MinimumWindowSize.ToString(),
              SystemInformation.MinWindowTrackSize.ToString(),
              SystemInformation.MonitorCount.ToString(),
              SystemInformation.MonitorsSameDisplayFormat.ToString(),
              SystemInformation.MouseButtons.ToString(),
              SystemInformation.MouseButtonsSwapped.ToString(),
              SystemInformation.MousePresent.ToString(),
              SystemInformation.MouseWheelPresent.ToString(),
              SystemInformation.MouseWheelScrollLines.ToString(),
              SystemInformation.NativeMouseWheelSupport.ToString(),
              SystemInformation.Network.ToString(),
              SystemInformation.PenWindows.ToString(),
              SystemInformation.PrimaryMonitorMaximizedWindowSize.ToString(),
              SystemInformation.PrimaryMonitorSize.ToString(),
              SystemInformation.RightAlignedMenus.ToString(),
              SystemInformation.Secure.ToString(),
              SystemInformation.ShowSounds.ToString(),
              SystemInformation.SmallIconSize.ToString(),
              SystemInformation.ToolWindowCaptionButtonSize.ToString(),
              SystemInformation.ToolWindowCaptionHeight.ToString(),
              SystemInformation.UserDomainName,
              SystemInformation.UserInteractive.ToString(),
              SystemInformation.UserName,
              SystemInformation.VerticalScrollBarArrowHeight.ToString(),
              SystemInformation.VerticalScrollBarThumbHeight.ToString(),
              SystemInformation.VerticalScrollBarWidth.ToString(),
              SystemInformation.VirtualScreen.ToString(),
              SystemInformation.WorkingArea.ToString(),
              };
          }    
     }
}

 








Related examples in the same category

1.SystemInformation.ArrangeDirection
2.SystemInformation.ArrangeStartingPosition
3.SystemInformation.BootMode
4.SystemInformation.Border3DSize
5.SystemInformation.BorderSize
6.SystemInformation.CaptionButtonSize
7.SystemInformation.CaptionHeight
8.SystemInformation.ComputerName
9.SystemInformation.CursorSize
10.SystemInformation.DbcsEnabled
11.SystemInformation.PrimaryMonitor