public rsa_client() { InitializeComponent(); rsa_algo = new rsa_c(); ThreadStart client_thread = new ThreadStart(Run_client); readthread = new Thread(client_thread); readthread.Start(); }
BinaryWriter writer; // Encapsulate object from Networkstream(socket_stream) and Writing on Network #endregion Fields #region Constructors public rsa_server() { InitializeComponent(); rsa_algo = new rsa_c(); ThreadStart server = new ThreadStart(Run_Server); read_thread = new Thread(server); read_thread.Start(); }