public void InitializeNetwork() { RsaPair = ClientManager.Instance.GetScrambledKeyPair(); BlowfishKey = ClientManager.Instance.GetBlowfishKey(); _loginCrypt = new LoginCrypt(); _loginCrypt.UpdateKey(BlowfishKey); new Thread(Read).Start(); new Thread(SendInit).Start(); }
public void InitializeNetwork() { RsaPair = _clientManager.GetScrambledKeyPair(); BlowfishKey = _clientManager.GetBlowfishKey(); _loginCrypt = new LoginCrypt(); _loginCrypt.UpdateKey(BlowfishKey); Task.Factory.StartNew(ReadAsync); Task.Factory.StartNew(SendInit); }