C# Класс WhatsAppHelper, whatsapp-desktop-client

A class with some functions to verify accounts, register accounts
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

generatePassword() публичный Метод

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.
Результат string

getVersion() публичный Метод

Retrieves the version number of the latest WhatsApp mobile app.
public getVersion ( ) : string
Результат string

md5() публичный Метод

Generates a MD5 hash from a string
public md5 ( string input ) : string
input string The string that needs to be hashed
Результат string

verifyAccount() публичный Метод

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
Результат bool