March 2003
Intermediate to advanced
896 pages
32h 35m
English
SystemInformation
This utility class provides a large number of static properties that
can give you information about the current system settings, such as
the HorizontalScrollBarHeight and whether this is
a DebugOS.
Note that some of these properties, such as
ComputerName and UserName, are
retrieved from corresponding environment variables and are therefore
susceptible to spoofing, and should not be considered to be secure.
public class SystemInformation { // Public Static Properties public static ArrangeDirection ArrangeDirection{get; } public static ArrangeStartingPosition ArrangeStartingPosition{get; } public static BootMode BootMode{get; } public static Size Border3DSize{get; } public static Size BorderSize{get; } public static Size CaptionButtonSize{get; } public static int CaptionHeight{get; } public static string ComputerName{get; } public static Size CursorSize{get; } public static bool DbcsEnabled{get; } public static bool DebugOS{get; } public static Size DoubleClickSize{get; } public static int DoubleClickTime{get; } public static bool DragFullWindows{get; } public static Size DragSize{get; } public static Size FixedFrameBorderSize{get; } public static Size FrameBorderSize{get; } public static bool HighContrast{get; } public static int HorizontalScrollBarArrowWidth{get; } public static int HorizontalScrollBarHeight{get; } public static int HorizontalScrollBarThumbWidth{get; } public static Size IconSize{get; } public static Size IconSpacingSize{get; } public ...
Read now
Unlock full access