Esempio n. 1
0
 protected void _constructBase(string phoneNum, string imei, string nick, bool debug, bool hidden)
 {
     this.messageQueue = new List<ProtocolTreeNode>();
     this.phoneNumber = phoneNum;
     this.password = imei;
     this.name = nick;
     this.hidden = hidden;
     WhatsApp.DEBUG = debug;
     this.reader = new BinTreeNodeReader();
     this.loginStatus = CONNECTION_STATUS.DISCONNECTED;
     this.BinWriter = new BinTreeNodeWriter();
     this.whatsNetwork = new WhatsNetwork(WhatsConstants.WhatsAppHost, WhatsConstants.WhatsPort, this.timeout);
     this.Registration = new Register.WhatsRegisterV2();
 }