SystemInformation.BootMode Property

 

Gets a BootMode value that indicates the boot mode the system was started in.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

static member BootMode : BootMode with get

Property Value

Type: System.Windows.Forms.BootMode

One of the BootMode values that indicates the boot mode the system was started in.

The BootMode property indicates whether the operating system was started in a normal or safe boot mode.

The following code example lists all properties of the SystemInformation class in a ListBox and displays the current value of the property in a TextBox when a list item selected.

No code example is currently available or this language may not be supported.

EnvironmentPermission

to get the value of this property. Associated enumeration: PermissionState.Unrestricted

.NET Framework
Available since 1.1
Return to top
Show: