get system information
Published: 12. January 2009 | Updated: 12. January 2009License: Microsoft Public License (MS-PL)
Categories: Windows
Tags: C# Windows
Console.WriteLine("ActiveWindowTrackingDelay: {0}", SystemInformation.ActiveWindowTrackingDelay); Console.WriteLine("ArrangeDirection: {0}", SystemInformation.ArrangeDirection); Console.WriteLine("ArrangeStartingPosition: {0}", SystemInformation.ArrangeStartingPosition); Console.WriteLine("BootMode: {0}", SystemInformation.BootMode); Console.WriteLine("Border3DSize: {0}", SystemInformation.Border3DSize); Console.WriteLine("BorderMultiplierFactor: {0}", SystemInformation.BorderMultiplierFactor); Console.WriteLine("BorderSize: {0}", SystemInformation.BorderSize); Console.WriteLine("CaptionButtonSize: {0}", SystemInformation.CaptionButtonSize); Console.WriteLine("CaptionHeight: {0}", SystemInformation.CaptionHeight); Console.WriteLine("CaretBlinkTime: {0}", SystemInformation.CaretBlinkTime); Console.WriteLine("CaretWidth: {0}", SystemInformation.CaretWidth); Console.WriteLine("ComputerName: {0}", SystemInformation.ComputerName); Console.WriteLine("CursorSize: {0}", SystemInformation.CursorSize); Console.WriteLine("DbcsEnabled: {0}", SystemInformation.DbcsEnabled); Console.WriteLine("DebugOS: {0}", SystemInformation.DebugOS); Console.WriteLine("DoubleClickSize: {0}", SystemInformation.DoubleClickSize); Console.WriteLine("DoubleClickTime: {0}", SystemInformation.DoubleClickTime); Console.WriteLine("DragFullWindows: {0}", SystemInformation.DragFullWindows); Console.WriteLine("DragSize: {0}", SystemInformation.DragSize); Console.WriteLine("FixedFrameBorderSize: {0}", SystemInformation.FixedFrameBorderSize); Console.WriteLine("FontSmoothingContrast: {0}", SystemInformation.FontSmoothingContrast); Console.WriteLine("FontSmoothingType: {0}", SystemInformation.FontSmoothingType); Console.WriteLine("FrameBorderSize: {0}", SystemInformation.FrameBorderSize); Console.WriteLine("HighContrast: {0}", SystemInformation.HighContrast); Console.WriteLine("HorizontalFocusThickness: {0}", SystemInformation.HorizontalFocusThickness); Console.WriteLine("HorizontalResizeBorderThickness: {0}", SystemInformation.HorizontalResizeBorderThickness); Console.WriteLine("HorizontalScrollBarArrowWidth: {0}", SystemInformation.HorizontalScrollBarArrowWidth); Console.WriteLine("HorizontalScrollBarHeight: {0}", SystemInformation.HorizontalScrollBarHeight); Console.WriteLine("HorizontalScrollBarThumbWidth: {0}", SystemInformation.HorizontalScrollBarThumbWidth); Console.WriteLine("IconHorizontalSpacing: {0}", SystemInformation.IconHorizontalSpacing); Console.WriteLine("IconSize: {0}", SystemInformation.IconSize); Console.WriteLine("IconSpacingSize: {0}", SystemInformation.IconSpacingSize); Console.WriteLine("IconVerticalSpacing: {0}", SystemInformation.IconVerticalSpacing); Console.WriteLine("IsActiveWindowTrackingEnabled: {0}", SystemInformation.IsActiveWindowTrackingEnabled); Console.WriteLine("IsComboBoxAnimationEnabled: {0}", SystemInformation.IsComboBoxAnimationEnabled); Console.WriteLine("IsDropShadowEnabled: {0}", SystemInformation.IsDropShadowEnabled); Console.WriteLine("IsFlatMenuEnabled: {0}", SystemInformation.IsFlatMenuEnabled); Console.WriteLine("IsFontSmoothingEnabled: {0}", SystemInformation.IsFontSmoothingEnabled); Console.WriteLine("IsHotTrackingEnabled: {0}", SystemInformation.IsHotTrackingEnabled); Console.WriteLine("IsIconTitleWrappingEnabled: {0}", SystemInformation.IsIconTitleWrappingEnabled); Console.WriteLine("IsKeyboardPreferred: {0}", SystemInformation.IsKeyboardPreferred); Console.WriteLine("IsListBoxSmoothScrollingEnabled: {0}", SystemInformation.IsListBoxSmoothScrollingEnabled); Console.WriteLine("IsMenuAnimationEnabled: {0}", SystemInformation.IsMenuAnimationEnabled); Console.WriteLine("IsMenuFadeEnabled: {0}", SystemInformation.IsMenuFadeEnabled); Console.WriteLine("IsMinimizeRestoreAnimationEnabled: {0}", SystemInformation.IsMinimizeRestoreAnimationEnabled); Console.WriteLine("IsSelectionFadeEnabled: {0}", SystemInformation.IsSelectionFadeEnabled); Console.WriteLine("IsSnapToDefaultEnabled: {0}", SystemInformation.IsSnapToDefaultEnabled); Console.WriteLine("IsTitleBarGradientEnabled: {0}", SystemInformation.IsTitleBarGradientEnabled); Console.WriteLine("IsToolTipAnimationEnabled: {0}", SystemInformation.IsToolTipAnimationEnabled); Console.WriteLine("KanjiWindowHeight: {0}", SystemInformation.KanjiWindowHeight); Console.WriteLine("KeyboardDelay: {0}", SystemInformation.KeyboardDelay); Console.WriteLine("KeyboardSpeed: {0}", SystemInformation.KeyboardSpeed); Console.WriteLine("MaxWindowTrackSize: {0}", SystemInformation.MaxWindowTrackSize); Console.WriteLine("MenuAccessKeysUnderlined: {0}", SystemInformation.MenuAccessKeysUnderlined); Console.WriteLine("MenuBarButtonSize: {0}", SystemInformation.MenuBarButtonSize); Console.WriteLine("MenuButtonSize: {0}", SystemInformation.MenuButtonSize); Console.WriteLine("MenuFont: {0}", SystemInformation.MenuFont); Console.WriteLine("MenuHeight: {0}", SystemInformation.MenuHeight); Console.WriteLine("MenuCheckSize: {0}", SystemInformation.MenuCheckSize); Console.WriteLine("MenuShowDelay: {0}", SystemInformation.MenuShowDelay); Console.WriteLine("MidEastEnabled: {0}", SystemInformation.MidEastEnabled); Console.WriteLine("MinimizedWindowSize: {0}", SystemInformation.MinimizedWindowSize); Console.WriteLine("MinimizedWindowSpacingSize: {0}", SystemInformation.MinimizedWindowSpacingSize); Console.WriteLine("MinimumWindowSize: {0}", SystemInformation.MinimumWindowSize); Console.WriteLine("MinWindowTrackSize: {0}", SystemInformation.MinWindowTrackSize); Console.WriteLine("MonitorCount: {0}", SystemInformation.MonitorCount); Console.WriteLine("MonitorsSameDisplayFormat: {0}", SystemInformation.MonitorsSameDisplayFormat); Console.WriteLine("MouseButtons: {0}", SystemInformation.MouseButtons); Console.WriteLine("MouseButtonsSwapped: {0}", SystemInformation.MouseButtonsSwapped); Console.WriteLine("MouseHoverSize: {0}", SystemInformation.MouseHoverSize); Console.WriteLine("MouseHoverTime: {0}", SystemInformation.MouseHoverTime); Console.WriteLine("MouseSpeed: {0}", SystemInformation.MouseSpeed); Console.WriteLine("MouseWheelPresent: {0}", SystemInformation.MouseWheelPresent); Console.WriteLine("MouseWheelScrollDelta: {0}", SystemInformation.MouseWheelScrollDelta); Console.WriteLine("MouseWheelScrollLines: {0}", SystemInformation.MouseWheelScrollLines); Console.WriteLine("NativeMouseWheelSupport: {0}", SystemInformation.NativeMouseWheelSupport); Console.WriteLine("Network: {0}", SystemInformation.Network); Console.WriteLine("PenWindows: {0}", SystemInformation.PenWindows); Console.WriteLine("PopupMenuAlignment: {0}", SystemInformation.PopupMenuAlignment); Console.WriteLine("PowerStatus: {0}", SystemInformation.PowerStatus); Console.WriteLine("PrimaryMonitorMaximizedWindowSize: {0}", SystemInformation.PrimaryMonitorMaximizedWindowSize); Console.WriteLine("PrimaryMonitorSize: {0}", SystemInformation.PrimaryMonitorSize); Console.WriteLine("RightAlignedMenus: {0}", SystemInformation.RightAlignedMenus); Console.WriteLine("ScreenOrientation: {0}", SystemInformation.ScreenOrientation); Console.WriteLine("Secure: {0}", SystemInformation.Secure); Console.WriteLine("ShowSounds: {0}", SystemInformation.ShowSounds); Console.WriteLine("SizingBorderWidth: {0}", SystemInformation.SizingBorderWidth); Console.WriteLine("SmallCaptionButtonSize: {0}", SystemInformation.SmallCaptionButtonSize); Console.WriteLine("SmallIconSize: {0}", SystemInformation.SmallIconSize); Console.WriteLine("TerminalServerSession: {0}", SystemInformation.TerminalServerSession); Console.WriteLine("ToolWindowCaptionButtonSize: {0}", SystemInformation.ToolWindowCaptionButtonSize); Console.WriteLine("ToolWindowCaptionHeight: {0}", SystemInformation.ToolWindowCaptionHeight); Console.WriteLine("UIEffectsEnabled: {0}", SystemInformation.UIEffectsEnabled); Console.WriteLine("UserDomainName: {0}", SystemInformation.UserDomainName); Console.WriteLine("UserInteractive: {0}", SystemInformation.UserInteractive); Console.WriteLine("UserName: {0}", SystemInformation.UserName); Console.WriteLine("VerticalFocusThickness: {0}", SystemInformation.VerticalFocusThickness); Console.WriteLine("VerticalResizeBorderThickness: {0}", SystemInformation.VerticalResizeBorderThickness); Console.WriteLine("VerticalScrollBarArrowHeight: {0}", SystemInformation.VerticalScrollBarArrowHeight); Console.WriteLine("VerticalScrollBarThumbHeight: {0}", SystemInformation.VerticalScrollBarThumbHeight); Console.WriteLine("VerticalScrollBarWidth: {0}", SystemInformation.VerticalScrollBarWidth); Console.WriteLine("VirtualScreen: {0}", SystemInformation.VirtualScreen); Console.WriteLine("WorkingArea: {0}", SystemInformation.WorkingArea);
| Send us feedback about this snippet » |





