SystemProtection SystemProtection SystemProtection SystemProtection Class

Definition

Provides information related to system protection.

public : static class SystemProtectionpublic static class SystemProtectionPublic Static Class SystemProtection// You can use this class in JavaScript.
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 ScreenLocked

Gets a value that indicates whether the screen is locked.

public : static PlatForm::Boolean ScreenLocked { get; }public static bool ScreenLocked { get; }Public Static ReadOnly Property ScreenLocked As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

true if the screen is locked; otherwise, false.

Methods

RequestScreenUnlock() RequestScreenUnlock() RequestScreenUnlock() RequestScreenUnlock()

Requests the unlocking of the screen.

public : static void RequestScreenUnlock()public static void RequestScreenUnlock()Public Static Function RequestScreenUnlock() As void// You can use this method in JavaScript.