Topic "c# SessionOptions.AddRawSettings not work"

Author Message
Taladan
[View user's profile]

Joined: 2012-06-29
Posts: 4
Location: Germany
Hello,

I tried this:

Code:
SessionOptions sessionOptions = new SessionOptions();
sessionOptions.AddRawSettings("HostName", "test.de");


and the SessionOption.HostName dosnt changed.

What is wrong?

Greets
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
It just does not work like that.
Moreover the AddRawSettings is intended for setting options that you cannot set with specific properties of SessionOptions.
Taladan
[View user's profile]

Joined: 2012-06-29
Posts: 4
Location: Germany
i hope, it can be implement later. it make something easyer.
tpc
[View user's profile]

Joined: 2012-09-11
Posts: 3
Curious why you could not get this to work instead

Code:
SessionOptions sessionOptions = new SessionOptions();
sessionOptions.HostName = "test.de";
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License