Пример #1
0
 public void SendInputMouseWheel(int MouseDelta)
 {
     byte[] Sw = new byte[4];
     byte[] Xp = new byte[4];
     Sw = BitConverter.GetBytes(8);
     Xp = BitConverter.GetBytes(MouseDelta);
     InputClient.Send(Sw);
     InputClient.Send(Xp);
 }
Пример #2
0
 public void SendInputUp(int KeyValue)
 {
     byte[] Sw = new byte[4];
     byte[] Xp = new byte[4];
     Sw = BitConverter.GetBytes(1);
     Xp = BitConverter.GetBytes(KeyValue);
     InputClient.Send(Sw);
     InputClient.Send(Xp);
     //InputClient.Send(Yp);
 }
Пример #3
0
 public void SendInputMouseUp(int X, int Y)
 {
     byte[] Sw = new byte[4];
     byte[] Xp = new byte[4];
     byte[] Yp = new byte[4];
     Sw = BitConverter.GetBytes(3);
     Xp = BitConverter.GetBytes(X);
     Yp = BitConverter.GetBytes(Y);
     InputClient.Send(Sw);
     InputClient.Send(Xp);
     InputClient.Send(Yp);
 }