c# SessionOptions.AddRawSettings not work

Advertisement

Taladan
Joined:
Posts:
4
Location:
Germany

c# SessionOptions.AddRawSettings not work

Hello,

I tried this:

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

and the SessionOption.HostName dosn't changed.

What is wrong?

Greets

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: c# SessionOptions.AddRawSettings not work

It just does not work like that.
Moreover the AddRawSettings is intended for setting options that you cannot set with specific properties of SessionOptions.

Reply with quote

tpc
Joined:
Posts:
3

Re: c# SessionOptions.AddRawSettings not work

Curious why you could not get this to work instead

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

Reply with quote

Advertisement

You can post new topics in this forum