SystemProtection SystemProtection SystemProtection SystemProtection Class

Provides information related to system protection.

Syntax

Declaration

public static class SystemProtectionpublic static class SystemProtectionPublic Static Class SystemProtectionpublic static class SystemProtection

Properties summary

Gets a value that indicates whether the screen is locked.

Methods summary

Requests the unlocking of the screen.

Properties

  • ScreenLocked
    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 boolpublic static bool ScreenLocked { get; }

    Property Value

    • bool
      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 voidpublic static void RequestScreenUnlock()

Device family

Windows Mobile Extension SDK (introduced v10.0.10240.0)

API contract

Windows.Phone.PhoneContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.StaticAttribute
Windows.Foundation.Metadata.StaticAttribute

Details

Assembly

Windows.Phone.System.dll