This library, written in C#, expands on some telnet code from various other sources, presenting the caller with a number of functions handy for scripting telnet sessions (i.e. SendMessage, SendAndWait, WaitAndSend, WaitFor).
Many of these functions also accept multiple prompts to wait for, returning the index of the prompt that was actually found. This provides great flexibility when scripting for optional prompts and the like.
This code was written specifically to handle a telnet session to an OpenVMS box, but I'm certain that it can easily be modified to handle any telnet session.
Please feel free to contact me with any questions or comments on the code

fer borPosted May 6, 2021, 9:05 AM EDT
No me puedo bajar los ficheros
alexis medranoPosted Jun 19, 2019, 7:13 AM EDT
Do you have a same program in visual basic?
Louis-Alex ValléePosted Jun 16, 2015, 9:07 PM EDT
Why I keep receive the "??%" when I try to connect to my server?
prasanna lankaPosted Aug 20, 2014, 2:51 AM EDT
[email protected]
prasanna lankaPosted Aug 20, 2014, 2:51 AM EDT
I want to connect to Unix server and run some commands and get the outpu, pls someone help me how to use it.
Federico AllegrettiPosted Jun 8, 2012, 9:42 AM EDT
thanks for sharing .... now need to download c@ express to compile (i'm a vb.net programmer ;-) )
Phoebe TaiPosted Aug 10, 2011, 12:34 AM EDT
hi ive downloaded your project .. hmm .. what specific library did yu use? :)
fares mahmoudPosted May 22, 2011, 4:59 AM EDT
thanks very much for source code i used it and tried it on my router d-link 2540 u but it's not workin and tried it on another router it's work (tp-link) please help me
mahdi bakloutiPosted Apr 5, 2011, 12:30 AM EDT
bonjour, je suis entrain de travailler sur vb.net et j'ai besoin d'un script qui permet d'ouvrir une sessions en SSh et puis d'échanger des information à basse du protocole telnet. est t'il possible de convertir ce script en vb.net et qu'elle sont les modifications que je doit apporté à ce code merci bien pour votre aide ScriptingTelnet.zip
Lachlan ChantPosted Jul 20, 2010, 7:56 AM EDT
Thank you for this, it looks like it could be exactly what I am after. All I have to do is modify it to work with windows(and this custom telnet server) :)
Steve HollePosted Apr 12, 2010, 7:47 AM EDT
Can someone send me an example on how to declare, initialize, and connect this class? I don't understand how data is received and displayed. Thanks.
AchmadPosted Nov 16, 2009, 5:37 PM EST
can you help me how to use it? :-( thanks
Former memberPosted Oct 8, 2009, 6:58 AM EDT
Best C# Telnet Lib I've found is called Minimalistic Telnet. Very easy to understand, use and modify. It works great for the Cisco routers I need to configure. http://www.codeproject.com/KB/IP/MinimalisticTelnet.aspx
JoePosted Jun 20, 2009, 5:40 AM EDT
I'm very new to this. can some one tell me how to get started. I know how to add this library to a project. But then what. There's no doc's for this to tell me how to start.
STeve HollePosted Oct 1, 2008, 2:00 PM EDT
Does anyone have an example of this library being used?
satish thiruvaipatiPosted Sep 26, 2008, 2:15 AM EDT
hi, I need to code for the telnet connection using vb.net. kindly help me for the same. thanks, satish.thiruvaipati
AllenPosted Mar 24, 2008, 9:40 AM EDT
I am also needing to telnet to an OpenVMS system. Has anyone had success using this to communicate to an OpenVMS machine? Please share :) Thanks,
Joe HugheseditedPosted Jan 16, 2008, 10:14 AM ESTEdited Mar 10, 2008, 3:08 PM EDT
Tyler, this is a nice piece of code I've implemented portions of it in a project I'm doing. Have you worked on this recently? I made some changes for my own purposes.
Nagarajan SubbrajPosted May 18, 2007, 1:45 AM EDT
hi, your code working fine with windows based application.but i want connact to the Unix area,at that time it shows error?how do i cannect to Unix area?please help me?
jenny hoPosted Mar 21, 2007, 6:57 PM EDT
Hi Tyler, Is it very different to modify the telnet from OpenVMS to Sun Solaris? Jenny
Vinod WadhwaniPosted Feb 21, 2007, 10:45 PM EST
Hello, I am new to socket programming. I have no idea how to do this I need to make a web based utility for Telnet. Can you please send some description for the code.