is_session_locked

0.0.2 • Public • Published

is_session_locked

NPM Version NPM Downloads

Detect whether the Windows user session is locked..

Typically used to decide whether the computer can be used for backgoround tasks.

Installation

npm install is_session_locked

API

var isl = require('is_session_locked');

setInterval(
    function() { console.log("is_session_locked", isl.is_session_locked()); }, 
    2000);

is_session_locked()

Returns true if no user is logged-in or if the session is locked.

Return false if the user is logged-in and the session is in use.

License

BSD-3-Clause

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i is_session_locked

Weekly Downloads

0

Version

0.0.2

License

BSD-3-Clause

Last publish

Collaborators

  • kljh