avinashav,
I understand your problem. But your question (without knowing what you are trying to do) sounds almost like:
Q: "How do I build a house?"
I mean, Renci is like a wrench in your toolbox as you build the house, and the rest of the house is the C# form. With Renci being alibrary, it is more like a tool, just like visual studio is a tool. You can't run visual studio and doanything, but you can make an application that does.
So think of libraries, includes/imports, DLLs, etc. as nothing more than tools, or even blueprints to build your house (application). If you have not built many houses, you might
not be sure just yet that SSH.NET is even the tool you need, as there are others you can use.
Building a house from scratch, in visual studio, is not hard, but it takes time for a learning curve, and time to actually write, test, etc. to make sure it meets your original requirements.
For some like me, the act of figuring out which tools work best, and even doing more that you thought possible with tools you learn about, is thefun (yes, fun!) of programming.
If you are where you seem to be with programming, then you have a lot of great times ahead of you! If you are a very new beginner, start with the free tutorials on MSDN/Microsoft
site, or sometimes the 'trails' that take you on a learning curve, or like me just buy all the books on the subject and mark hem up in pen & marker!
If, however, you are not new to programming, thenstackoverflow.com is a good place to post your question, and see what comes up from searching as well.
I hope you see why asking the forum that makes a hammer how to use it to build a house might be more difficult for us to help you with, and asking on a forum where they build applications
like the one you seek to create would be a better use of your time.
However, once your application is in process, and you are trying to accomplish somethingSSH.NET should be able to do per it's docs, or other forum posts here & elsewhere, and you can't make it work like you think it should, then that question will be much easier to answer here.
I hope this isn't seen as a negative post, but a positive one trying to save you frustration and get you to where you will find the answers you seek.
Sound good?
Thanks!
pat
:)
:)