SystemProtection SystemProtection SystemProtection Class

Definition

Provides information related to system protection.

public static class SystemProtectionpublic static class SystemProtectionPublic Static Class SystemProtection
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)

Properties

ScreenLocked ScreenLocked ScreenLocked

Gets a value that indicates whether the screen is locked.

public static bool ScreenLocked { get; }public static bool ScreenLocked { get; }Public Static ReadOnly Property ScreenLocked As bool
Value
bool bool bool

true if the screen is locked; otherwise, false.

Attributes

Methods

RequestScreenUnlock() RequestScreenUnlock() RequestScreenUnlock()

Requests the unlocking of the screen.

public static void RequestScreenUnlock()public static void RequestScreenUnlock()Public Static Function RequestScreenUnlock() As void
Attributes