SessionOptions.AddRawSettings Method
Allows configuring any site settings using raw format as in an INI file (with optional use of keywords).
Advertisement
Syntax
C#
public void AddRawSettings(string setting, string value)
VB.NET
Public Sub AddRawSettings(setting As String, value As String)
Parameters
Name | Description |
---|---|
string setting | Name of the setting. |
string value | Value of the setting. |
Remarks
For example, to enable SSH compression and agent forwarding use:
sessionOptions.AddRawSettings("Compression", "on"); sessionOptions.AddRawSettings("AgentFwd", "on");
See list of raw settings available.