Differences
This shows you the differences between the selected revisions of the page.
| 2013-04-30 | 2013-05-09 | ||
| Using camel case for PowerShell built-in constants as MS does (martin) | 5.2.1 Renamed WinSCP .NET assembly to winscpnet.dll to avoid conflicts with winscp.exe (martin) | ||
| Line 1: | Line 1: | ||
| ====== WinSCP .NET Assembly and COM Library ====== | ====== WinSCP .NET Assembly and COM Library ====== | ||
| - | The WinSCP .NET assembly ''winscp.dll'' is a .NET wrapper around WinSCP's [[scripting|scripting interface]] that allows your code to connect to a remote machine and manipulate remote files over SFTP, SCP, and FTP sessions from .NET languages, such as [[library#csharp|C#]], [[library#vbnet|VB.NET]], [[library#powershell|PowerShell]] and others, or from environments supporting .NET addons, such as [[library_ssis|SQL Server Integration Services (SSIS)]]. | + | The WinSCP .NET assembly ''winscpnet.dll'' (''winscp.dll'' in the releases before the latest beta version) &beta is a .NET wrapper around WinSCP's [[scripting|scripting interface]] that allows your code to connect to a remote machine and manipulate remote files over SFTP, SCP, and FTP sessions from .NET languages, such as [[library#csharp|C#]], [[library#vbnet|VB.NET]], [[library#powershell|PowerShell]] and others, or from environments supporting .NET addons, such as [[library_ssis|SQL Server Integration Services (SSIS)]]. |
| The assembly is also exposed to COM, and as such it can be used from variety of other programming languages and development environments--e.g., [[library_com_wsh|WSH-hosted active scripting languages]] like JScript and VBScript, [[library_vb|Visual Basic for Applications (VBA)]], [[library_perl|Perl]], and Python. | The assembly is also exposed to COM, and as such it can be used from variety of other programming languages and development environments--e.g., [[library_com_wsh|WSH-hosted active scripting languages]] like JScript and VBScript, [[library_vb|Visual Basic for Applications (VBA)]], [[library_perl|Perl]], and Python. | ||
| Line 158: | Line 158: | ||
| ==== [[powershell]] PowerShell Example ==== | ==== [[powershell]] PowerShell Example ==== | ||
| There are also [[library_examples|other PowerShell examples]]. | There are also [[library_examples|other PowerShell examples]]. | ||
| + | |||
| + | &beta (* .dll *) | ||
| <code powershell> | <code powershell> | ||
| Line 163: | Line 165: | ||
| { | { | ||
| # Load WinSCP .NET assembly | # Load WinSCP .NET assembly | ||
| - | [Reflection.Assembly]::LoadFrom("WinSCP.dll") | Out-Null | + | # Use "winscp.dll" for the releases before the latest beta version. |
| + | ····[Reflection.Assembly]::LoadFrom("WinSCPnet.dll") | Out-Null | ||
| # Setup session options | # Setup session options | ||