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
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
fer borPosted May 6, 2021, 1:05 PM
No me puedo bajar los ficheros
alexis medranoPosted Jun 19, 2019, 11:13 AM
Do you have a same program in visual basic?
Louis-Alex ValléePosted Jun 17, 2015, 1:07 AM
Why I keep receive the "??%" when I try to connect to my server?
prasanna lankaPosted Aug 20, 2014, 6:51 AM
[email protected]
prasanna lankaPosted Aug 20, 2014, 6:51 AM
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, 1:42 PM
thanks for sharing .... now need to download c@ express to compile (i'm a vb.net programmer ;-) )
Phoebe TaiPosted Aug 10, 2011, 4:34 AM
hi ive downloaded your project .. hmm .. what specific library did yu use? :)
fares mahmoudPosted May 22, 2011, 8:59 AM
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, 4:30 AM
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, 11:56 AM
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, 11:47 AM
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, 10:37 PM
can you help me how to use it? :-( thanks
Former memberPosted Oct 8, 2009, 10:58 AM
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, 9:40 AM
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, 6:00 PM
Does anyone have an example of this library being used?
satish thiruvaipatiPosted Sep 26, 2008, 6:15 AM
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, 1:40 PM
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, 3:14 PMEdited Mar 10, 2008, 7:08 PM
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, 5:45 AM
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, 10:57 PM
Hi Tyler, Is it very different to modify the telnet from OpenVMS to Sun Solaris? Jenny
Vinod WadhwaniPosted Feb 22, 2007, 3:45 AM
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.