Why I can’t assign some types in my settings.

While hacking some data into my settings.settings in VS 2010, I found that I could use many different types from many libraries that I use, for example, the HTTPListener from the System.Net namespace.

But for some strange reason, I don’t understand why, I can’t use the IPAddress type that I really need. Why is this and how can I fix it, because for me it is nothing more than an annoying mistake.

I do not know what to try to fix it?

+3
source share
1 answer

System.Net.IPAddress has a Serializable-Attribute parameter

, [Serializable] . XML. , , . , . IPAddress .

. IPAddress.Parse() ToString() .

+6

All Articles