Differences
This shows you the differences between the selected revisions of the page.
2012-01-05 | 2012-01-07 | ||
rm ad (martin) | no summary (Petr) | ||
Line 4: | Line 4: | ||
&future_feature | &future_feature | ||
- | ===== Using WinSCP .NET Assembly ===== | + | ===== Three Steps to Start Using WinSCP .NET Assembly ===== |
- | First, you need to create an instance of ''[[library_sessionoptions|WinSCP.SessionOptions]]'' class and fill in all necessary information to allow an automatic connection and authentication of your session. | + | - Create an instance of ''[[library_sessionoptions|WinSCP.SessionOptions]]'' class and fill in all necessary information to allow an automatic connection and authentication of your session. |
+ | - Create an instance of ''[[library_session|WinSCP.Session]]'' class. Optionally you can hook handlers of some events of the class. | ||
+ | - Open the session using ''[[library_session_open|Session.Open]]'' method, passing instance of your ''WinSCP.SessionOptions''. | ||
- | Then you create an instance of ''[[library_session|WinSCP.Session]]'' class. Optionally you hook handlers of some events of the class. Then you open the session using ''[[library_session_open|Session.Open]]'' method, passing instance of your ''WinSCP.SessionOptions''. | + | Once the session is opened, you can use any of the ''WinSCP.Session'' methods to manipulate remote files, e.g., |
- | + | * ''[[library_session_getfiles|Session.GetFiles]]'' to [[task_download|download files]], | |
- | Once the session is opened, you can use any of the ''WinSCP.Session'' methods to manipulate remote files. For example use ''[[library_session_getfiles|Session.GetFiles]]'' to [[task_download|download files]], ''[[library_session_putfiles|Session.PutFiles]]'' to [[task_upload|upload files]] or ''[[library_session_synchronizedirectories|Session.SynchronizeDirectories]]'' to [[task_synchronize_full|synchronize directories]]. | + | * ''[[library_session_putfiles|Session.PutFiles]]'' to [[task_upload|upload files]] or |
+ | * ''[[library_session_synchronizedirectories|Session.SynchronizeDirectories]]'' to [[task_synchronize_full|synchronize directories]]. | ||
===== Classes ===== | ===== Classes ===== |