Sends raw data to TELNET server.
Namespace: Jscape.TelnetAssembly: Jscape.Telnet (in Jscape.Telnet.dll) Version: 2.6.1.0
Syntax
C# |
---|
public void SendRaw( string data ) |
Visual Basic |
---|
Public Sub SendRaw ( _ data As String _ ) |
Visual C++ |
---|
public: void SendRaw( String^ data ) |
Parameters
- data
- Type: System..::..String
The data to send.
Remarks
Does not wait for the shell prompt to be returned.
Examples
To send raw data to the TELNET server, invoke the SendRaw method.
In this example, CTRL-D is sent immediately.
CopySendRaw
CopySendRaw

// Terminate TELNET session using ASCII CTRL-D. session.SendRaw("\\cD");

' Terminate TELNET session using ASCII CTRL-D. session.SendRaw("\\cD")