Wednesday 23 September 2015

Send WhatsApp Msg

WhatsApp wa = new WhatsApp("91********", "Your Password", "pankaj", true);

wa.OnConnectSuccess += () =>
{
MessageBox.Show("connect");
 wa.OnLoginSuccess += (phno, data) =>
{ wa.SendMessage("91********", "msg");
};
 wa.OnLoginFailed += (data) =>
 {
MessageBox.Show("login failed" + data);
}
; wa.Login();
};
wa.OnConnectFailed += (ex) =>
{
MessageBox.Show("connection failed");
}; wa.Connect();

7 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
  3. If possible pls post VB.Net version....

    ReplyDelete
    Replies
    1. Dll issue are occuring when c# to vb converting.

      Delete
  4. Hello Bhavdip tala..
    I am getting Login failed..
    How to fix this Bug???
    Please help..

    ReplyDelete
  5. Tala

    From where can I find new whatsappapi.dll

    thank you

    ReplyDelete

SqlDataBaseLibrary

using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using AOS.Repository.Infrastructure; using S...