SystemInformation 클래스

정의

현재 시스템 환경에 대한 정보를 제공합니다.

public ref class SystemInformation
public ref class SystemInformation abstract sealed
public class SystemInformation
public static class SystemInformation
type SystemInformation = class
Public Class SystemInformation
상속
SystemInformation

예제

다음 코드 예제에서는 클래스의 SystemInformation 모든 속성을 나열 ListBox 하고 목록 항목이 선택된 경우 속성 TextBox 의 현재 값을 표시합니다.

#using <System.Windows.Forms.dll>
#using <System.Drawing.dll>
#using <System.dll>

using namespace System;
using namespace System::Collections;
using namespace System::ComponentModel;
using namespace System::Drawing;
using namespace System::Reflection;
using namespace System::Windows::Forms;
public ref class SystemInfoBrowserForm: public System::Windows::Forms::Form
{
private:
   System::Windows::Forms::ListBox^ listBox1;
   System::Windows::Forms::TextBox^ textBox1;

public:
   SystemInfoBrowserForm()
   {
      this->SuspendLayout();
      InitForm();
      
      // Add each property of the SystemInformation class to the list box.
      Type^ t = System::Windows::Forms::SystemInformation::typeid;
      array<PropertyInfo^>^pi = t->GetProperties();
      for ( int i = 0; i < pi->Length; i++ )
         listBox1->Items->Add( pi[ i ]->Name );
      textBox1->Text = String::Format( "The SystemInformation class has {0} properties.\r\n", pi->Length );
      
      // Configure the list item selected handler for the list box to invoke a 
      // method that displays the value of each property.
      listBox1->SelectedIndexChanged += gcnew EventHandler( this, &SystemInfoBrowserForm::listBox1_SelectedIndexChanged );
      this->ResumeLayout( false );
   }


private:
   void listBox1_SelectedIndexChanged( Object^ /*sender*/, EventArgs^ /*e*/ )
   {
      
      // Return if no list item is selected.
      if ( listBox1->SelectedIndex == -1 )
            return;

      
      // Get the property name from the list item.
      String^ propname = listBox1->Text;
      if ( propname->Equals( "PowerStatus" ) )
      {
         
         // Cycle and display the values of each property of the PowerStatus property.
         textBox1->Text = String::Concat( textBox1->Text, "\r\nThe value of the PowerStatus property is:" );
         Type^ t = System::Windows::Forms::PowerStatus::typeid;
         array<PropertyInfo^>^pi = t->GetProperties();
         for ( int i = 0; i < pi->Length; i++ )
         {
            Object^ propval = pi[ i ]->GetValue( SystemInformation::PowerStatus, nullptr );
            textBox1->Text = String::Format( "{0}\r\n    PowerStatus.{1} is: {2}", textBox1->Text, pi[ i ]->Name, propval );

         }
      }
      else
      {
         
         // Display the value of the selected property of the SystemInformation type.
         Type^ t = System::Windows::Forms::SystemInformation::typeid;
         array<PropertyInfo^>^pi = t->GetProperties();
         PropertyInfo^ prop = nullptr;
         for ( int i = 0; i < pi->Length; i++ )
            if ( pi[ i ]->Name == propname )
            {
               prop = pi[ i ];
               break;
            }
         Object^ propval = prop->GetValue( nullptr, nullptr );
         textBox1->Text = String::Format( "{0}\r\nThe value of the {1} property is: {2}", textBox1->Text, propname, propval );
      }
   }

   void InitForm()
   {
      
      // Initialize the form settings
      this->listBox1 = gcnew System::Windows::Forms::ListBox;
      this->textBox1 = gcnew System::Windows::Forms::TextBox;
      this->listBox1->Anchor = (System::Windows::Forms::AnchorStyles)(System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Bottom | System::Windows::Forms::AnchorStyles::Left | System::Windows::Forms::AnchorStyles::Right);
      this->listBox1->Location = System::Drawing::Point( 8, 16 );
      this->listBox1->Size = System::Drawing::Size( 172, 496 );
      this->listBox1->TabIndex = 0;
      this->textBox1->Anchor = (System::Windows::Forms::AnchorStyles)(System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Bottom | System::Windows::Forms::AnchorStyles::Right);
      this->textBox1->Location = System::Drawing::Point( 188, 16 );
      this->textBox1->Multiline = true;
      this->textBox1->ScrollBars = System::Windows::Forms::ScrollBars::Vertical;
      this->textBox1->Size = System::Drawing::Size( 420, 496 );
      this->textBox1->TabIndex = 1;
      this->ClientSize = System::Drawing::Size( 616, 525 );
      this->Controls->Add( this->textBox1 );
      this->Controls->Add( this->listBox1 );
      this->Text = "Select a SystemInformation property to get the value of";
   }

};


[STAThread]
int main()
{
   Application::Run( gcnew SystemInfoBrowserForm );
}
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;

namespace SystemInfoBrowser
{
    public class SystemInfoBrowserForm : System.Windows.Forms.Form
    {
        private System.Windows.Forms.ListBox listBox1;
        private System.Windows.Forms.TextBox textBox1;        
        
        public SystemInfoBrowserForm()
        {
            this.SuspendLayout();
            InitForm();
            
            // Add each property of the SystemInformation class to the list box.
            Type t = typeof(System.Windows.Forms.SystemInformation);            
            PropertyInfo[] pi = t.GetProperties();            
            for( int i=0; i<pi.Length; i++ )
                listBox1.Items.Add( pi[i].Name );            
            textBox1.Text = "The SystemInformation class has "+pi.Length.ToString()+" properties.\r\n";

            // Configure the list item selected handler for the list box to invoke a 
            // method that displays the value of each property.
            listBox1.SelectedIndexChanged += new EventHandler(listBox1_SelectedIndexChanged);
            this.ResumeLayout(false);
        }
        
        private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            // Return if no list item is selected.
            if( listBox1.SelectedIndex == -1 ) return;
            // Get the property name from the list item.
            string propname = listBox1.Text;
            
            if( propname == "PowerStatus" )
            {
                // Cycle and display the values of each property of the PowerStatus property.
                textBox1.Text += "\r\nThe value of the PowerStatus property is:";                                
                Type t = typeof(System.Windows.Forms.PowerStatus);
                PropertyInfo[] pi = t.GetProperties();            
                for( int i=0; i<pi.Length; i++ )
                {
                    object propval = pi[i].GetValue(SystemInformation.PowerStatus, null);            
                    textBox1.Text += "\r\n    PowerStatus."+pi[i].Name+" is: "+propval.ToString();
                }
            }
            else
            {
                // Display the value of the selected property of the SystemInformation type.
                Type t = typeof(System.Windows.Forms.SystemInformation);
                PropertyInfo[] pi = t.GetProperties();            
                PropertyInfo prop = null;
                for( int i=0; i<pi.Length; i++ )
                    if( pi[i].Name == propname )
                    {
                        prop = pi[i];
                        break;           
                    }
                object propval = prop.GetValue(null, null);            
                textBox1.Text += "\r\nThe value of the "+propname+" property is: "+propval.ToString();
            }
        }

        private void InitForm()
        {
            // Initialize the form settings
            this.listBox1 = new System.Windows.Forms.ListBox();
            this.textBox1 = new System.Windows.Forms.TextBox();            
            this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
                | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
            this.listBox1.Location = new System.Drawing.Point(8, 16);
            this.listBox1.Size = new System.Drawing.Size(172, 496);
            this.listBox1.TabIndex = 0;            
            this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
                | System.Windows.Forms.AnchorStyles.Right)));
            this.textBox1.Location = new System.Drawing.Point(188, 16);
            this.textBox1.Multiline = true;
            this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;           
            this.textBox1.Size = new System.Drawing.Size(420, 496);
            this.textBox1.TabIndex = 1;            
            this.ClientSize = new System.Drawing.Size(616, 525);            
            this.Controls.Add(this.textBox1);
            this.Controls.Add(this.listBox1);            
            this.Text = "Select a SystemInformation property to get the value of";                   
        }

        [STAThread]
        static void Main() 
        {
            Application.Run(new SystemInfoBrowserForm());
        }
    }
}
Imports System.Collections
Imports System.ComponentModel
Imports System.Drawing
Imports System.Reflection
Imports System.Windows.Forms

Public Class SystemInfoBrowserForm
    Inherits System.Windows.Forms.Form
    
    Private listBox1 As System.Windows.Forms.ListBox
    Private textBox1 As System.Windows.Forms.TextBox  
    
    Public Sub New()
        Me.SuspendLayout()
        InitForm()
        
        ' Add each property of the SystemInformation class to the list box.
        Dim t As Type = GetType(System.Windows.Forms.SystemInformation)
        Dim pi As PropertyInfo() = t.GetProperties()
        Dim i As Integer
        For i = 0 To pi.Length - 1
            listBox1.Items.Add(pi(i).Name)
        Next i
        textBox1.Text = "The SystemInformation class has " + pi.Length.ToString() + " properties." + ControlChars.CrLf
        
        ' Configure the list item selected handler for the list box to invoke a 
        ' method that displays the value of each property.
        AddHandler listBox1.SelectedIndexChanged, AddressOf listBox1_SelectedIndexChanged
        
        Me.ResumeLayout(False)
    End Sub    
    
    Private Sub listBox1_SelectedIndexChanged(sender As Object, e As EventArgs)
        ' Return if no list item is selected.
        If listBox1.SelectedIndex = - 1 Then
            Return
        End If         
        ' Get the property name from the list item.
        Dim propname As String = listBox1.Text
        
        If propname = "PowerStatus" Then
            ' Cycle and display the values of each property of the PowerStatus property.
            textBox1.Text += ControlChars.CrLf + "The value of the PowerStatus property is:"
            Dim t As Type = GetType(System.Windows.Forms.PowerStatus)
            Dim pi As PropertyInfo() = t.GetProperties()
            Dim i As Integer
            For i = 0 To pi.Length - 1
                Dim propval As Object = pi(i).GetValue(SystemInformation.PowerStatus, Nothing)
                textBox1.Text += ControlChars.CrLf + "    PowerStatus." + pi(i).Name + " is: " + propval.ToString()
            Next i
        Else
            ' Display the value of the selected property of the SystemInformation type.
            Dim t As Type = GetType(System.Windows.Forms.SystemInformation)
            Dim pi As PropertyInfo() = t.GetProperties()
            Dim prop As PropertyInfo = Nothing
            Dim i As Integer
            For i = 0 To pi.Length - 1
                If pi(i).Name = propname Then
                    prop = pi(i)
                    Exit For
                End If
            Next i
            Dim propval As Object = prop.GetValue(Nothing, Nothing)
            textBox1.Text += ControlChars.CrLf + "The value of the " + propname + " property is: " + propval.ToString()
        End If
    End Sub    
    
    Private Sub InitForm()
        ' Initialize the form settings
        Me.listBox1 = New System.Windows.Forms.ListBox()
        Me.textBox1 = New System.Windows.Forms.TextBox()
        Me.listBox1.Anchor = CType(System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left Or System.Windows.Forms.AnchorStyles.Right, System.Windows.Forms.AnchorStyles)
        Me.listBox1.Location = New System.Drawing.Point(8, 16)
        Me.listBox1.Size = New System.Drawing.Size(172, 496)
        Me.listBox1.TabIndex = 0
        Me.textBox1.Anchor = CType(System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right, System.Windows.Forms.AnchorStyles)
        Me.textBox1.Location = New System.Drawing.Point(188, 16)
        Me.textBox1.Multiline = True
        Me.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical
        Me.textBox1.Size = New System.Drawing.Size(420, 496)
        Me.textBox1.TabIndex = 1
        Me.ClientSize = New System.Drawing.Size(616, 525)
        Me.Controls.Add(Me.textBox1)
        Me.Controls.Add(Me.listBox1)
        Me.Text = "Select a SystemInformation property to get the value of"
    End Sub
        
    <STAThread()>  _
    Shared Sub Main()
        Application.Run(New SystemInfoBrowserForm())
    End Sub

End Class

설명

클래스는 SystemInformation 현재 시스템 환경에 대한 정보를 가져오는 데 사용할 수 있는 속성을 제공합니다 static . 이 클래스는 Windows 표시 요소 크기, 운영 체제 설정, 네트워크 가용성 및 시스템에 설치된 하드웨어 기능과 같은 정보에 대한 액세스를 제공합니다. 이 클래스는 인스턴스화할 수 없습니다.

시스템 전체 매개 변수에 대한 자세한 내용은 SystemParametersInfo를 참조하세요.

속성

ActiveWindowTrackingDelay

활성 창 추적 지연을 가져옵니다.

ArrangeDirection

운영 체제에서 최소화된 창을 정렬하는 방향을 나타내는 값을 가져옵니다.

ArrangeStartingPosition

운영 체제에서 최소화된 창을 정렬하는 데 사용할 시작 위치를 나타내는 ArrangeStartingPosition 값을 가져옵니다.

BootMode

시스템 시작에 사용된 부팅 모드를 나타내는 BootMode 값을 가져옵니다.

Border3DSize

3차원 스타일 창 또는 시스템 컨트롤 테두리의 두께(픽셀 단위)를 가져옵니다.

BorderMultiplierFactor

창 크기 조정 테두리의 두께를 결정하는 데 사용되는 테두리 승수 요소를 가져옵니다.

BorderSize

2차원 스타일 창 또는 시스템 컨트롤 테두리의 두께를 픽셀 단위로 가져옵니다.

CaptionButtonSize

창의 제목 표시줄에 표시되는 단추의 표준 크기를 픽셀 단위로 가져옵니다.

CaptionHeight

창의 표준 제목 표시줄 영역 높이를 픽셀 단위로 가져옵니다.

CaretBlinkTime

캐럿 깜박임 시간을 가져옵니다.

CaretWidth

edit 컨트롤에 표시되는 캐럿의 너비를 픽셀 단위로 가져옵니다.

ComputerName

로컬 컴퓨터의 NetBIOS 컴퓨터 이름을 가져옵니다.

CursorSize

커서의 최대 크기를 픽셀 단위로 가져옵니다.

DbcsEnabled

운영 체제에서 DBCS(더블바이트 문자 집합) 문자를 처리할 수 있는지 여부를 나타내는 값을 가져옵니다.

DebugOS

USER.EXE의 디버그 버전이 설치되었는지 여부를 나타내는 값을 가져옵니다.

DoubleClickSize

운영 체제에서 두 번의 클릭을 "두 번 클릭(double-click)"으로 간주하도록 하기 위해 사용자가 두 번 클릭해야 하는 영역의 크기(픽셀 단위)를 가져옵니다.

DoubleClickTime

두 번 클릭(double-click)이 이루어지기 위해 첫 번째 클릭 이후 두 번째로 클릭할 때까지의 제한 시간을 밀리초 단위로 가져옵니다.

DragFullWindows

사용자가 전체 창 끌기를 활성화했는지 여부를 나타내는 값을 가져옵니다.

DragSize

마우스 단추를 누른 지점을 중심으로 하고 끌기 작업이 시작되지 않는 사각형의 너비와 높이를 가져옵니다.

FixedFrameBorderSize

캡션이 있으며 크기를 조정할 수 없는 창의 프레임 테두리 두께(픽셀 단위)를 가져옵니다.

FontSmoothingContrast

ClearType 다듬기에 사용되는 글꼴 다듬기 대비 값을 가져옵니다.

FontSmoothingType

현재의 글꼴 다듬기 형식을 가져옵니다.

FrameBorderSize

끌기로 크기 조정할 창 둘레에 그려지는 크기 조정 테두리의 두께를 픽셀 단위로 가져옵니다.

HighContrast

사용자가 내게 필요한 옵션 기능인 고대비 모드를 활성화했는지 여부를 나타내는 값을 가져옵니다.

HorizontalFocusThickness

시스템 포커스 사각형의 왼쪽 및 오른쪽 가장자리 두께를 픽셀 단위로 가져옵니다.

HorizontalResizeBorderThickness

크기를 조정할 창 주위의 크기 조정 테두리 왼쪽 및 오른쪽 가장자리의 두께를 픽셀 단위로 가져옵니다.

HorizontalScrollBarArrowWidth

가로 스크롤 막대에 있는 화살표 비트맵의 너비(픽셀 단위)를 가져옵니다.

HorizontalScrollBarHeight

가로 스크롤 막대의 기본 높이(픽셀 단위)를 가져옵니다.

HorizontalScrollBarThumbWidth

가로 스크롤 막대에 있는 스크롤 상자의 너비(픽셀 단위)를 가져옵니다.

IconHorizontalSpacing

큰 아이콘 보기의 아이콘 정렬 셀 너비를 픽셀 단위로 가져옵니다.

IconSize

Windows 기본 프로그램 아이콘 크기(픽셀 단위)를 가져옵니다.

IconSpacingSize

큰 아이콘 보기로 아이콘을 정렬하는 데 사용되는 모눈 정사각형의 크기(픽셀 단위)를 가져옵니다.

IconVerticalSpacing

큰 아이콘 보기의 아이콘 정렬 셀 높이를 픽셀 단위로 가져옵니다.

IsActiveWindowTrackingEnabled

활성 창 추적 기능을 사용하는지 여부를 나타내는 값을 가져옵니다.

IsComboBoxAnimationEnabled

콤보 상자에 슬라이드 방식으로 열기 효과를 사용하는지 여부를 나타내는 값을 가져옵니다.

IsDropShadowEnabled

그림자 효과를 사용하는지 여부를 나타내는 값을 가져옵니다.

IsFlatMenuEnabled

기본 사용자 메뉴가 기본 메뉴 모양인지 여부를 나타내는 값을 가져옵니다.

IsFontSmoothingEnabled

글꼴 다듬기를 사용하는지 여부를 나타내는 값을 가져옵니다.

IsHotTrackingEnabled

메뉴 모음의 메뉴 이름과 같은 사용자 인터페이스 요소에 대해 핫 트래킹을 사용하는지 여부를 나타내는 값을 가져옵니다.

IsIconTitleWrappingEnabled

아이콘 제목 줄바꿈 기능을 사용하는지 여부를 나타내는 값을 가져옵니다.

IsKeyboardPreferred

사용자가 마우스 대신 키보드를 사용하는지 여부를 나타내는 값을 가져오며, 애플리케이션에서 키보드 인터페이스를 표시하도록 합니다. 표시하도록 하지 않으면 키보드 인터페이스가 숨겨집니다.

IsListBoxSmoothScrollingEnabled

목록 상자에 부드러운 스크롤 효과를 사용하는지 여부를 나타내는 값을 가져옵니다.

IsMenuAnimationEnabled

메뉴 페이드 또는 슬라이드 애니메이션 기능을 사용하는지 여부를 나타내는 값을 가져옵니다.

IsMenuFadeEnabled

메뉴 페이드 애니메이션 기능을 사용하는지 여부를 나타내는 값을 가져옵니다.

IsMinimizeRestoreAnimationEnabled

창 최소화 및 복원 애니메이션 효과를 사용하는지 여부를 나타내는 값을 가져옵니다.

IsSelectionFadeEnabled

선택 영역 페이드 효과를 사용하는지 여부를 나타내는 값을 가져옵니다.

IsSnapToDefaultEnabled

기본 단추로 이동하는 기능을 사용하는지 여부를 나타내는 값을 가져옵니다.

IsTitleBarGradientEnabled

창 제목 표시줄에 그라데이션 효과를 사용하는지 여부를 나타내는 값을 가져옵니다.

IsToolTipAnimationEnabled

ToolTip 애니메이션을 사용하는지 여부를 나타내는 값을 가져옵니다.

KanjiWindowHeight

DBCS(더블바이트 문자 집합) 버전의 Windows 화면 맨 아래에 표시되는 간지 창의 높이(픽셀 단위)를 가져옵니다.

KeyboardDelay

키보드 반복 지연 설정을 가져옵니다.

KeyboardSpeed

키보드 반복 속도 설정을 가져옵니다.

MaxWindowTrackSize

캡션 및 크기 조정 테두리가 있는 창의 기본 최대 크기(픽셀 단위)를 가져옵니다.

MenuAccessKeysUnderlined

메뉴 선택키에 항상 밑줄을 표시하는지 여부를 나타내는 값을 가져옵니다.

MenuBarButtonSize

메뉴 모음 단추의 기본 너비(픽셀 단위)와 메뉴 모음의 높이(픽셀 단위)를 가져옵니다.

MenuButtonSize

메뉴 모음 단추의 기본 크기(픽셀 단위)를 가져옵니다.

MenuCheckSize

메뉴 확인 표시 영역의 기본 크기(픽셀 단위)를 가져옵니다.

MenuFont

메뉴에 텍스트를 표시하는 데 사용되는 글꼴을 가져옵니다.

MenuHeight

메뉴 한 줄의 높이(픽셀 단위)를 가져옵니다.

MenuShowDelay

마우스 커서가 하위 메뉴 항목 위에 있을 경우 계단식 바로 가기 메뉴가 표시될 때까지의 시간(밀리초 단위)을 가져옵니다.

MidEastEnabled

운영 체제에서 히브리어 및 아랍어를 사용할 수 있는지 여부를 나타내는 값을 가져옵니다.

MinimizedWindowSize

최소화된 보통 창의 크기(픽셀 단위)를 가져옵니다.

MinimizedWindowSpacingSize

최소화된 창을 정렬할 때 최소화된 각 창에 할당되는 영역의 크기를 가져옵니다.

MinimumWindowSize

창의 최소 너비 및 높이(픽셀 단위)를 가져옵니다.

MinWindowTrackSize

창을 끌어서 크기를 조정하는 동안 창에 적용할 기본 최소 크기(픽셀 단위)를 가져옵니다.

MonitorCount

데스크톱에 있는 디스플레이 모니터의 수를 가져옵니다.

MonitorsSameDisplayFormat

모든 디스플레이 모니터가 같은 픽셀 색 형식을 사용하는지 여부를 나타내는 값을 가져옵니다.

MouseButtons

마우스의 단추 수를 가져옵니다.

MouseButtonsSwapped

마우스 왼쪽 단추와 오른쪽 단추의 기능이 바뀌었는지 여부를 나타내는 값을 가져옵니다.

MouseHoverSize

마우스 호버 메시지가 생성되기 전에 마우스 포인터가 마우스 호버 시간 동안 머물러야 하는 사각형의 크기를 픽셀 단위로 가져옵니다.

MouseHoverTime

마우스 호버 메시지가 생성되기 전에 마우스 포인터가 호버 사각형에 머물러야 하는 시간을 밀리초 단위로 가져옵니다.

MousePresent

포인팅 디바이스가 설치되어 있는지 여부를 나타내는 값을 가져옵니다.

MouseSpeed

현재 마우스 속도를 가져옵니다.

MouseWheelPresent

휠 마우스가 설치되어 있는지 여부를 나타내는 값을 가져옵니다.

MouseWheelScrollDelta

단일 마우스 휠 회전 증분에 대한 델타 값 크기를 가져옵니다.

MouseWheelScrollLines

마우스 휠을 돌릴 때 스크롤되는 줄 수를 가져옵니다.

NativeMouseWheelSupport

휠 마우스가 설치되어 있는지 여부를 나타내는 값을 가져옵니다.

Network

현재 네트워크에 연결되어 있는지 여부를 나타내는 값을 가져옵니다.

PenWindows

Microsoft Windows for Pen Computing 확장이 설치되어 있는지 여부를 나타내는 값을 가져옵니다.

PopupMenuAlignment

해당 메뉴 모음 항목에 맞춰지는 팝업 메뉴의 면을 가져옵니다.

PowerStatus

현재 시스템 전원 상태를 가져옵니다.

PrimaryMonitorMaximizedWindowSize

기본 디스플레이에서 최대화된 창의 기본 크기(픽셀 단위)를 가져옵니다.

PrimaryMonitorSize

기본 디스플레이의 현재 비디오 모드 크기(픽셀 단위)를 가져옵니다.

RightAlignedMenus

드롭다운 메뉴가 해당 메뉴 모음 항목 오른쪽에 맞추어져 있는지 여부를 나타내는 값을 가져옵니다.

ScreenOrientation

화면의 방향을 가져옵니다.

Secure

이 운영 체제에 보안 관리자가 있는지 여부를 나타내는 값을 가져옵니다.

ShowSounds

애플리케이션에서 청취 가능 형식의 정보를 나타낼 때 시각적 형식으로도 정보를 나타내도록 할지 여부를 나타내는 값을 가져옵니다.

SizingBorderWidth

크기를 조정할 창 주위에 그려지는 크기 조정 테두리의 너비(픽셀 단위)를 가져옵니다.

SmallCaptionButtonSize

작은 캡션 단추의 너비(픽셀 단위)와 작은 캡션의 높이(픽셀 단위)를 가져옵니다.

SmallIconSize

작은 아이콘의 크기(픽셀 단위)를 가져옵니다.

TerminalServerSession

호출 프로세스가 터미널 서비스 클라이언트 세션에 연결되는지 여부를 나타내는 값을 가져옵니다.

ToolWindowCaptionButtonSize

작은 캡션 단추의 크기(픽셀 단위)를 가져옵니다.

ToolWindowCaptionHeight

도구 창 캡션의 높이(픽셀 단위)를 가져옵니다.

UIEffectsEnabled

UI(사용자 인터페이스) 효과를 사용하는지 여부를 나타내는 값을 가져옵니다.

UserDomainName

사용자가 속하는 도메인의 이름을 가져옵니다.

UserInteractive

현재 프로세스가 사용자 대화형 모드로 실행되고 있는지 여부를 나타내는 값을 가져옵니다.

UserName

현재 스레드와 연결된 사용자 이름을 가져옵니다.

VerticalFocusThickness

시스템 포커스 사각형의 위쪽 및 아래쪽 가장자리 두께(픽셀 단위)를 가져옵니다.

VerticalResizeBorderThickness

크기를 조정 중인 창 둘레의 크기 조정 테두리 위쪽 및 아래쪽 가장자리의 두께(픽셀 단위)를 가져옵니다.

VerticalScrollBarArrowHeight

세로 스크롤 막대에 있는 화살표 비트맵의 높이(픽셀 단위)를 가져옵니다.

VerticalScrollBarThumbHeight

세로 스크롤 막대에 있는 스크롤 상자의 높이(픽셀 단위)를 가져옵니다.

VerticalScrollBarWidth

세로 스크롤 막대의 기본 너비(픽셀 단위)를 가져옵니다.

VirtualScreen

가상 화면의 경계를 가져옵니다.

WorkingArea

화면의 작업 영역 크기(픽셀 단위)를 가져옵니다.

메서드

GetBorderSizeForDpi(Int32)

지정된 DPI 값에 대한 평면 스타일 창 또는 시스템 컨트롤 테두리의 두께(픽셀 단위)를 가져옵니다.

GetHorizontalScrollBarArrowWidthForDpi(Int32)

가로 스크롤 막대 화살표 비트맵의 너비(픽셀 단위)를 가져옵니다.

GetHorizontalScrollBarHeightForDpi(Int32)

지정된 DPI 값의 가로 스크롤 막대 기본 높이(픽셀 단위)를 가져옵니다.

GetMenuFontForDpi(Int32)

지정된 디스플레이 디바이스의 DPI를 변경할 때 사용할 메뉴의 텍스트를 표시하는 데 사용되는 글꼴을 가져옵니다.

GetVerticalScrollBarWidthForDpi(Int32)

지정된 DPI 값의 세로 스크롤 막대 기본 높이(픽셀 단위)를 가져옵니다.

VerticalScrollBarArrowHeightForDpi(Int32)

세로 스크롤 막대 화살표 비트맵의 높이(픽셀 단위)를 가져옵니다.

적용 대상

추가 정보