Menu

[r21]: / trunk / WhatsappClient / Classes / Account.cs  Maximize  Restore  History

Download this file

36 lines (31 with data), 926 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
* by Swen Kooij aka Kirk - swenkooij@gmail.com
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/// <summary>
/// Represents a WhatsApp account
/// </summary>
class WhatsappAccount
{
/// <summary>
/// The full phone number belonging to this account.
/// </summary>
public string Phonenumber { get; set; }
/// <summary>
/// The password that belongs to this account
/// </summary>
public string Password { get; set; }
/// <summary>
/// Default class constructor
/// </summary>
/// <param name="_Phonenumber">The full phonenumber, including country code.</param>
/// <param name="_Password">The password assigned to the phone number.</param>
public WhatsappAccount(string _Phonenumber, string _Password)
{
Phonenumber = _Phonenumber;
Password = _Password;
}
}
MongoDB Logo MongoDB