Ejemplo n.º 1
0
 public static void Send(XPloitSocketClient client, byte[] data)
 {
     client.Send(new XPloitMsgByteArray()
     {
         Data = data
     });
 }
Ejemplo n.º 2
0
        //https://support.microsoft.com/en-us/kb/231866
        //public static byte[] GetColorMessage()
        //{
        //    return new byte[]
        //        {
        //           255, 0x1B, (byte)'[',
        //            38, 2,
        //            0, 187, 0,
        //            (byte)'m'
        //        };
        //}

        #region Allowed send
        public static void Send(XPloitSocketClient client, string data)
        {
            client.Send(new XPloitMsgString()
            {
                Data = data
            });
        }
Ejemplo n.º 3
0
 void client_OnMessage(XPloitSocket sender, XPloitSocketClient cl, IXPloitSocketMsg msg)
 {
     // Client receive message
     cl.Send(new XPloitMsgLogin()
     {
         Domain = "?", User = "******", Password = "******", InResponseTo = msg.Id
     });
 }
Ejemplo n.º 4
0
 public static void Send(XPloitSocketClient client, byte[] data) { client.Send(new XPloitMsgByteArray() { Data = data }); }
Ejemplo n.º 5
0
        //https://support.microsoft.com/en-us/kb/231866
        //public static byte[] GetColorMessage()
        //{
        //    return new byte[] 
        //        { 
        //           255, 0x1B, (byte)'[', 
        //            38, 2, 
        //            0, 187, 0,
        //            (byte)'m' 
        //        };
        //}

        #region Allowed send
        public static void Send(XPloitSocketClient client, string data) { client.Send(new XPloitMsgString() { Data = data }); }