Differences

This shows you the differences between the selected revisions of the page.

2015-12-21 2015-12-21
5.8 Change: Deprecating Session.DefaultConfiguration in favor of Session.AddRawConfiguration. (martin) 5.8 Bug 1334 Supporting impersonated IIS environment with .NET assembly (martin)
Line 29: Line 29:
| bool DisableVersionCheck | Disables test that WinSCP [[executables|executables]] have the same product version as this assembly.((Note, even if you set this property, you need to use the assembly with compatible WinSCP executable only. Otherwise the behavior is unpredictable. In general, it is not recommended to use this. In neither case will you be able to use the assembly with WinSCP 5.0.4 or older.)) The property has to be set before calling ''Open''. | | bool DisableVersionCheck | Disables test that WinSCP [[executables|executables]] have the same product version as this assembly.((Note, even if you set this property, you need to use the assembly with compatible WinSCP executable only. Otherwise the behavior is unpredictable. In general, it is not recommended to use this. In neither case will you be able to use the assembly with WinSCP 5.0.4 or older.)) The property has to be set before calling ''Open''. |
| string ExecutablePath | Path to ''[[executables#winscp.exe|winscp.exe]]''. The default is ''null'', meaning that ''winscp.exe'' is looked for in the same directory as this assembly or in an installation folder. The property has to be set before calling ''Open''. | | string ExecutablePath | Path to ''[[executables#winscp.exe|winscp.exe]]''. The default is ''null'', meaning that ''winscp.exe'' is looked for in the same directory as this assembly or in an installation folder. The property has to be set before calling ''Open''. |
 +| string ExecutableProcessUserName | If the .NET process is running in an impersonated environment, you need to provide credentials of the impersonated account, so that the ''winscp.exe'' process can be started with the same privileges. |
 +| SecureString ExecutableProcessPassword| See ''ExecutableProcessUserName''. |
| string HomePath | Path to a remote home directory. The property can be read only after calling ''Open''. | | string HomePath | Path to a remote home directory. The property can be read only after calling ''Open''. |
| string IniFilePath | Deprecated. Do not use. | | string IniFilePath | Deprecated. Do not use. |

Last modified: by martin