private void button1_Click(object sender, EventArgs e) { RequestBuilder builder = new RequestBuilder("LOGICAL-DEVICE"); Encoder encode = new Encoder(builder.RequestString()); Debug.Print( System.Text.Encoding.ASCII.GetString( encode.Encode())); }
private void btnSendIECRequest_Click(object sender, EventArgs e) { RequestBuilder builder = new RequestBuilder("LOGICAL-DEVICE"); Encoder encode = new Encoder(builder.RequestString()); _client.SendData(encode.Encode()); }