Re: winscpnet.dll and winscp.exe interaction
Yes, you need both:
https://winscp.net/eng/docs/library_install#installing
The .dll talks to .exe process using internal protocol. So the .exe (as the extension suggests) is not used as a library (what would have impact on the licensing, given the fact WinSCP is licensed under GPL).
https://winscp.net/eng/docs/library_install#installing
The .dll talks to .exe process using internal protocol. So the .exe (as the extension suggests) is not used as a library (what would have impact on the licensing, given the fact WinSCP is licensed under GPL).