Subject: How to use SendCommand inTelnetTerminalControl
Date: 2018-01-02 18:48:32
From: ntnam
Source: use-sendcommand-intelnetterminalcontrol
----------------------------------------------------------------------

My code raise exception

    var telnetControl = new TelnetTerminalControl();
    telnetControl.Connect("10.10.10.12", 23);
    telnetControl.SendCommand("admin");    <-- exception

> ComponentPro.Net.Terminal.TerminalException: Cannot receive and
> process data while in 'automatic' processing mode. Use
> TerminalControl.SetDataProcessingMode method to disable automatic
> processing first.

But i cannot find 'SetDataProcessingMode'???
Please help me.

----------------------------------------------------------------------

Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.

Back to ComponentPro Q&A Forum Index