Re: Disable ResumeSupport when using .NET assembly in Powershell
$sessionOption.AddRawSettings("ResumeSupport","2")
ResumeSupport is not a session option, it is an global configuration option that cannot be set in NET assembly yet.
All you can do atm is to configure it in the GUI and unset Session.DefaultConfiguration
https://winscp.net/eng/docs/library_session
This request has been added to the tracker:
https://winscp.net/tracker/876