There's nothing that you cannot configure using
SessionOptionsclass. Either using its properties, for basic options; or using
SessionOptions.AddRawSettingsmethod, for advanced settings.
Anyway, to answer your question:
false(to couple the assembly with WinSCP configuration);
- Make sure the assembly shares the configuration with WinSCP. Particularly note that WinSCP uses registry to store configuration by default. So make sure the assembly runs under the same account that you have your stored session/site configured with. Or use INI file instead (use
SessionOptions.HostNameto the name of your stored session/site (this is undocumented and unsupported). Note that this works only, if the name does not contain any characters with special meaning in URLs.