Differences
This shows you the differences between the selected revisions of the page.
2013-09-23 | 2013-12-20 | ||
typo (martin) | 5.5 removing beta tags (martin) | ||
Line 18: | Line 18: | ||
Scripting mode by default [[scripting#configuration|shares configuration]] with graphical mode. On the contrary the .NET assembly is by default isolated from graphical mode configuration (equivalent to using ''/ini=nul'' [[commandline|command-line parameter]] in scripting mode). | Scripting mode by default [[scripting#configuration|shares configuration]] with graphical mode. On the contrary the .NET assembly is by default isolated from graphical mode configuration (equivalent to using ''/ini=nul'' [[commandline|command-line parameter]] in scripting mode). | ||
- | It means that you cannot use [[session_configuration#site|sites/stored sessions]], when opening session with .NET assembly. You need to configure all your site settings directly in your code (using ''[[library_sessionoptions|SessionOptions]]'' class). | + | It means that you cannot use [[session_configuration#site|stored sites]], when opening session with .NET assembly. You need to configure all your site settings directly in your code (using ''[[library_sessionoptions|SessionOptions]]'' class). |
It also means that with .NET assembly, you always start with default [[transfer_settings|transfer settings]], default [[ui_pref_resume|resume/endurance settings]], etc. | It also means that with .NET assembly, you always start with default [[transfer_settings|transfer settings]], default [[ui_pref_resume|resume/endurance settings]], etc. | ||
Line 67: | Line 67: | ||
maps to following [[library_powershell|PowerShell]] code: | maps to following [[library_powershell|PowerShell]] code: | ||
- | |||
- | &beta (* .dll *) | ||
<code powershell> | <code powershell> | ||
Line 74: | Line 72: | ||
{ | { | ||
# Load WinSCP .NET assembly | # Load WinSCP .NET assembly | ||
- | # Use "winscp.dll" for the releases before the latest beta version. | ||
[Reflection.Assembly]::LoadFrom("WinSCPnet.dll") | Out-Null | [Reflection.Assembly]::LoadFrom("WinSCPnet.dll") | Out-Null | ||