inquire remote computer for numlock and capslock status

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?Q29tcHV0ZXJfRW5naW5lZXJfU3R1ZGVudA==?=

    inquire remote computer for numlock and capslock status

    I'm locking for an C# equivalent to the VBS code

    On Error Resume Next
    Set objWord = CreateObject("W ord.Application ", "" & txtPCName.Value & "")

    strCapsLock = objWord.CapsLoc k
    strNumLock = objWord.Numlock

    objWord.Quit

    How can this be accomplished in C# or is there another approach to retrieve
    this information by parsing admin creadentials.
Working...