Provides a dirty but simple-to-use wrapper for the HttpWebRequest classes.
    /// <summary>
    /// Retrieves the version number of the latest WhatsApp mobile app.
    /// </summary>
    /// <returns>The version number in a string.</returns>
    public string getVersion()
    {
        string Html = new DirtyHttp("http://www.whatsapp.com/android/").doRequest();

        string[] SplitA = Html.Split(new[] { "<p class=\"version\">" }, StringSplitOptions.None);
        return(SplitA[1].Split(new[] { "</p>" }, StringSplitOptions.None)[0].Trim().Replace("Version ", ""));
    }
    /// <summary>
    /// Checks if the account really exists
    /// </summary>
    /// <param name="CountryCode">The country code with a + eg: +31</param>
    /// <param name="Phonenumber">The phone number without the country code eg: 0624115307</param>
    /// <param name="Password">The password of the whatsapp account</param>
    /// <returns>True on existance and false when non-existent</returns>
    public bool verifyAccount(string CountryCode, string Phonenumber, string Password)
    {
        Phonenumber = Phonenumber != "" ? Phonenumber : "Empty";

        // Get page
        string Html = new DirtyHttp("https://r.whatsapp.net/v1/exist.php?cc=" + CountryCode.Replace("+", "") + "&in=" + Phonenumber + "&udid=" + Password).doRequest();

        // Verify
        if (Html.Contains("<response status=\"ok\"")) // hier dus..
        {
            return(true);
        }
        else
        {
            return(false);
        }
    }
    /// <summary>
    /// Checks if the account really exists
    /// </summary>
    /// <param name="CountryCode">The country code with a + eg: +31</param>
    /// <param name="Phonenumber">The phone number without the country code eg: 0624115307</param>
    /// <param name="Password">The password of the whatsapp account</param>
    /// <returns>True on existance and false when non-existent</returns>
    public bool verifyAccount(string CountryCode, string Phonenumber, string Password)
    {
        Phonenumber = Phonenumber != "" ? Phonenumber : "Empty";

        // Get page
        string Html = new DirtyHttp("https://r.whatsapp.net/v1/exist.php?cc=" + CountryCode.Replace("+", "") + "&in=" + Phonenumber + "&udid=" + Password).doRequest();

        // Verify
        if (Html.Contains("<response status=\"ok\"")) // hier dus..
            return true;
        else
            return false;
    }
 /// <summary>
 /// Retrieves the version number of the latest WhatsApp mobile app.
 /// </summary>
 /// <returns>The version number in a string.</returns>
 public string getVersion()
 {
     string Html = new DirtyHttp("http://www.whatsapp.com/android/").doRequest();
     string[] SplitA = Html.Split(new[] { "<p class=\"version\">" }, StringSplitOptions.None);
     return SplitA[1].Split(new[] { "</p>" }, StringSplitOptions.None)[0].Trim().Replace("Version ", "");
 }