C# Class WhatsAppHelper, whatsapp-desktop-client

A class with some functions to verify accounts, register accounts
ファイルを表示 Open project: sambulosenda/whatsapp-desktop-client Class Usage Examples

Public Methods

Method Description
generatePassword ( string ImeiMac, DeviceOS OS ) : string

Generates a password based on the IMEI or Wifi Mac adress

getVersion ( ) : string

Retrieves the version number of the latest WhatsApp mobile app.

md5 ( string input ) : string

Generates a MD5 hash from a string

verifyAccount ( string CountryCode, string Phonenumber, string Password ) : bool

Checks if the account really exists

Method Details

generatePassword() public method

Generates a password based on the IMEI or Wifi Mac adress
public generatePassword ( string ImeiMac, DeviceOS OS ) : string
ImeiMac string The IMEI number or the Wifi Mac Adress
OS DeviceOS The mobile operating system the account was registered on.
return string

getVersion() public method

Retrieves the version number of the latest WhatsApp mobile app.
public getVersion ( ) : string
return string

md5() public method

Generates a MD5 hash from a string
public md5 ( string input ) : string
input string The string that needs to be hashed
return string

verifyAccount() public method

Checks if the account really exists
public verifyAccount ( string CountryCode, string Phonenumber, string Password ) : bool
CountryCode string The country code with a + eg: +31
Phonenumber string The phone number without the country code eg: 0624115307
Password string The password of the whatsapp account
return bool