Click here to Skip to main content
15,892,059 members
Home / Discussions / C#
   

C#

 
GeneralRe: ObjectStream Pin
led mike28-Jan-08 8:53
led mike28-Jan-08 8:53 
GeneralRe: ObjectStream Pin
Skippums28-Jan-08 8:56
Skippums28-Jan-08 8:56 
Yes. You need to open a socket (probably using the System.Net.Sockets.TcpClient class), get the stream for that connection (probably a System.Net.Sockets.NetworkStream), and serialize your object over the stream (probably using the System.Runtime.Serialization.Formatters.Binary.BinaryFormatter class). Then the other side can deserialize the object and reconstruct the original. Your objects must be serializable, either by default (all state information must be exposed by properties with serializable types), or by you implementing the ISerializable or IXmlSerializable interfaces. Hope this helps,

Sounds like somebody's got a case of the Mondays

-Jeff

GeneralManaged COM, static constructors, and paths Pin
Dan Neely28-Jan-08 8:08
Dan Neely28-Jan-08 8:08 
GeneralRe: Managed COM, static constructors, and paths Pin
Skippums28-Jan-08 9:14
Skippums28-Jan-08 9:14 
GeneralRe: Managed COM, static constructors, and paths Pin
Dan Neely28-Jan-08 10:35
Dan Neely28-Jan-08 10:35 
GeneralMessage Closed Pin
28-Jan-08 8:00
Member 462175228-Jan-08 8:00 
GeneralRe: test Pin
Member 462175228-Jan-08 8:02
Member 462175228-Jan-08 8:02 
GeneralRe: test Pin
Ennis Ray Lynch, Jr.28-Jan-08 8:06
Ennis Ray Lynch, Jr.28-Jan-08 8:06 
GeneralRe: test Pin
Member 462175228-Jan-08 8:07
Member 462175228-Jan-08 8:07 
GeneralRe: test Pin
Member 462175228-Jan-08 8:24
Member 462175228-Jan-08 8:24 
GeneralA window opening problem Pin
DSdragondude28-Jan-08 7:54
DSdragondude28-Jan-08 7:54 
GeneralRe: A window opening problem Pin
LongRange.Shooter28-Jan-08 8:10
LongRange.Shooter28-Jan-08 8:10 
GeneralRe: A window opening problem Pin
DSdragondude28-Jan-08 8:27
DSdragondude28-Jan-08 8:27 
GeneralRe: A window opening problem Pin
MarkB77728-Jan-08 9:24
MarkB77728-Jan-08 9:24 
Generalwriting quotes with data to a text file..not quite what I wanted as output Pin
LongRange.Shooter28-Jan-08 7:51
LongRange.Shooter28-Jan-08 7:51 
GeneralRe: writing quotes with data to a text file..not quite what I wanted as output Pin
PIEBALDconsult28-Jan-08 8:19
mvePIEBALDconsult28-Jan-08 8:19 
GeneralRe: writing quotes with data to a text file..not quite what I wanted as output Pin
LongRange.Shooter28-Jan-08 8:24
LongRange.Shooter28-Jan-08 8:24 
GeneralRe: writing quotes with data to a text file..not quite what I wanted as output Pin
PIEBALDconsult28-Jan-08 8:42
mvePIEBALDconsult28-Jan-08 8:42 
GeneralProblem solved Pin
LongRange.Shooter28-Jan-08 8:52
LongRange.Shooter28-Jan-08 8:52 
GeneralRe: writing quotes with data to a text file..not quite what I wanted as output Pin
PIEBALDconsult28-Jan-08 8:53
mvePIEBALDconsult28-Jan-08 8:53 
QuestionHow to update Outlook appointments Pin
NewToAspDotNet28-Jan-08 6:59
NewToAspDotNet28-Jan-08 6:59 
GeneralGDI+ Performance Pin
#realJSOP28-Jan-08 6:30
mve#realJSOP28-Jan-08 6:30 
GeneralRe: GDI+ Performance Pin
Judah Gabriel Himango28-Jan-08 7:02
sponsorJudah Gabriel Himango28-Jan-08 7:02 
GeneralRe: GDI+ Performance Pin
Ennis Ray Lynch, Jr.28-Jan-08 8:07
Ennis Ray Lynch, Jr.28-Jan-08 8:07 
GeneralRe: GDI+ Performance Pin
#realJSOP28-Jan-08 8:30
mve#realJSOP28-Jan-08 8:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.