C# Class WhatsAppHelper, whatsapp-desktop-client

A class with some functions to verify accounts, register accounts
Afficher le fichier Open project: sambulosenda/whatsapp-desktop-client Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat string

getVersion() public méthode

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

md5() public méthode

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

verifyAccount() public méthode

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
Résultat bool