how to check a phone number if register at whatsapp ??(Easy Code)

string[] s = { "Phone Number1" ,"Phone Number2"};

                        WhatSocket.Instance.SendSync(s);
/ /Declare Delegate Event
                       WhatSocket.Instance.OnGetSyncResult += Instance_OnGetSyncResult;

//Delegate Event

 void Instance_OnGetSyncResult(int index, string sid, Dictionary<string, string> existingUsers, string[] failedNumbers)
        {
            foreach (KeyValuePair<string, string> iteam in existingUsers)
            {
                MessageBox.Show("existing" + iteam.Key + iteam.Value);
            }
            foreach (string item in failedNumbers)
            {
                MessageBox.Show("not existing" + item);
            };
        }

Post a Comment

15 Comments

  1. Perfect! As get user nickname? Thanks!

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

      Delete
  2. hey, i am unable to read the message in .net API these days, the messages are encrypted, are you able to read the messages?

    Does .net API support it?

    ReplyDelete
    Replies
    1. http://bhavdiptala.blogspot.in/2015/10/demo-code-send-image-in-whatsapp-usgin-c.html

      using Latest New .net API please download

      Delete
  3. I am unable to send images, please help me!

    ReplyDelete
    Replies
    1. http://bhavdiptala.blogspot.in/2015/10/demo-code-send-image-in-whatsapp-usgin-c.html

      Delete
  4. Any idea for C#.net Msg Broadcasting

    ReplyDelete
    Replies
    1. Bhavdip tala help on broadcasting issue

      Delete

  5. bhavdip tala some help to explain!!!

    ReplyDelete
  6. can u bush an example pls.>>>>

    ReplyDelete
  7. Bhavdip tala help on broadcasting issue

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

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

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

    ReplyDelete
  11. Hello. I can't request the password. I execute the following sentence:

    WhatsAppApi.Register.WhatsRegisterV2.RequestCode(numberphone, out password, "sms")

    This sentence doesn't send me the code sms.

    I'sorry for my english.
    Thanks.

    ReplyDelete