SystemProtection SystemProtection SystemProtection SystemProtection Class

Definition

Provides information related to system protection.

public : static class SystemProtection
public static class SystemProtection
Public Static Class SystemProtection
// This class does not provide a public constructor.
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
var bool = Windows.Phone.System.SystemProtection.screenLocked;
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
Windows.Phone.System.SystemProtection.requestScreenUnlock();