how to serialize .net built in object?
-
I use .net remoting to transfer my own object to remote computer. But my own object contains some .net built in object like Font, Brush...etc. These built in object seems can't serialize itself, so I got an exception, how can I do to slove this problem? thanks in advance.
-
I use .net remoting to transfer my own object to remote computer. But my own object contains some .net built in object like Font, Brush...etc. These built in object seems can't serialize itself, so I got an exception, how can I do to slove this problem? thanks in advance.
Create another object that contains information on the brushes and fonts, and serialize that.
website // Project : AmmoITX //profile Another Post by NnamdiOnyeyiri
-
I use .net remoting to transfer my own object to remote computer. But my own object contains some .net built in object like Font, Brush...etc. These built in object seems can't serialize itself, so I got an exception, how can I do to slove this problem? thanks in advance.
Please check whether you gave proper serializable attribute for your custom class. Otherwise please mention the exception that you got when you tried this. Sreejith Nair [ My Articles ]