title: Can I unlock a computer using vb.net application?
body: <p>I want to create an application that will run in the backgournd when my computer is locked, And will be able to unlock it in certain situations.</p>
  
  <p>currently I have the code to only lock the computer : </p>
  
  <pre><code>   &lt;DllImport("user32.dll", SetLastError:=True)&gt; Private Shared Function LockWorkStation() As &lt;MarshalAs(UnmanagedType.Bool)&gt; Boolean
      End Function
      Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
          If Not LockWorkStation() Then
              Throw New Win32Exception()
          End If
      End Sub
  </code></pre>
  
  <p>So how can I unlock a computer with a vb.net application ?</p>