/// <summary> /// Initializes the RC4 encryption instance of this connection with a given public key. /// </summary> /// <param name="Key">The public key to set.</param> public void initializeEncryption(string Key) { this.encryptionClient = new rc4Provider(Key); }
public TcpProxy(bool incoming) { this._mainSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); this._incoming = incoming; this._rc4Provider = null; }