programmatic telnet session

M

michael sorens

I have searched extensively and have found only hints of what is needed so
far: What I want to do is open a telnet session to a remote host on a
given port, login, execute a simple command, and retrieve the results. The
TcpClient class documentation provides a nice example, but it does not
work for telnet... I suspect there is more to the negotiation for telnet
than just the generic TCP client they present in the sample. I am hoping
someone knows of a library out there to do this common task.
 
G

Guest

I distinctly remember seeing as least one "freeware" or open source
implementation of a C# Telnet session class. Might have been on
codeproject.com; Look some more!
Peter
 
P

Peter Huang [MSFT]

Hi Michael,

Here is a link for your reference.
http://www.csharphelp.com/archives/archive239.html
Terminal Control Project (C# VT100 SSH Telnet)
http://www.codeproject.com/csharp/terminalcontrol.asp

Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top