예제 #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);
 }