PowerManager.UserPresenceStatus Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current user status associated with the app's session.
public:
static property UserPresenceStatus UserPresenceStatus { UserPresenceStatus get(); };
static UserPresenceStatus UserPresenceStatus();
public static UserPresenceStatus UserPresenceStatus { get; }
var userPresenceStatus = PowerManager.userPresenceStatus;
Public Shared ReadOnly Property UserPresenceStatus As UserPresenceStatus
Property Value
The current user present status of the device.
Remarks
This property corresponds to the GUID_SESSION_USER_PRESENCE power setting GUID.