Click here to Skip to main content
15,891,248 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Static variable in a .NET class library Pin
Dave Kreskowiak9-May-05 8:51
mveDave Kreskowiak9-May-05 8:51 
GeneralRe: Static variable in a .NET class library Pin
S. Senthil Kumar9-May-05 5:29
S. Senthil Kumar9-May-05 5:29 
GeneralRe: Static variable in a .NET class library Pin
trolik9-May-05 8:38
trolik9-May-05 8:38 
GeneralRe: Static variable in a .NET class library Pin
nyjetswin200512-May-05 12:27
nyjetswin200512-May-05 12:27 
GeneralSend Object Through Network Pin
aRtsZ8-May-05 10:29
aRtsZ8-May-05 10:29 
GeneralRe: Send Object Through Network Pin
Tad McClellan8-May-05 14:19
professionalTad McClellan8-May-05 14:19 
GeneralRe: Send Object Through Network Pin
aRtsZ9-May-05 0:28
aRtsZ9-May-05 0:28 
GeneralRe: Send Object Through Network Pin
S. Senthil Kumar9-May-05 5:34
S. Senthil Kumar9-May-05 5:34 
You can use binary serialization to write the object out as a binary stream and reconstruct it at the other end.
private void Serialize(NetworkStream stream, object obj)
{
   BinaryFormatter formatter = new BinaryFormatter();
   formatter.Serialize(stream, obj);
}

private object Deserialize(NetworkStream stream)
{
   BinaryFormatter formatter = new BinaryFormatter();
   return (YourTypeHere) formatter.Deserialize(stream);
}


Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: Send Object Through Network Pin
aRtsZ9-May-05 6:15
aRtsZ9-May-05 6:15 
GeneralRe: Send Object Through Network Pin
S. Senthil Kumar10-May-05 1:28
S. Senthil Kumar10-May-05 1:28 
GeneralRe: Send Object Through Network Pin
aRtsZ10-May-05 7:10
aRtsZ10-May-05 7:10 
GeneralIPhlpAPI : SetTcpEntry Pin
Vitoto7-May-05 18:47
Vitoto7-May-05 18:47 
GeneralEmbeded Executable Resource Pin
zx2c46-May-05 15:17
zx2c46-May-05 15:17 
GeneralRe: Embeded Executable Resource Pin
Dave Kreskowiak7-May-05 4:56
mveDave Kreskowiak7-May-05 4:56 
GeneralRe: Embeded Executable Resource Pin
Colin Angus Mackay7-May-05 10:36
Colin Angus Mackay7-May-05 10:36 
GeneralRe: Embeded Executable Resource Pin
Dave Kreskowiak9-May-05 1:02
mveDave Kreskowiak9-May-05 1:02 
GeneralRe: Embeded Executable Resource Pin
Colin Angus Mackay9-May-05 1:07
Colin Angus Mackay9-May-05 1:07 
General.NET Framework Versions Pin
NRayman6-May-05 11:57
NRayman6-May-05 11:57 
GeneralRe: .NET Framework Versions Pin
Dave Kreskowiak6-May-05 12:32
mveDave Kreskowiak6-May-05 12:32 
GeneralRemote exe Pin
NRayman6-May-05 9:53
NRayman6-May-05 9:53 
GeneralRe: Remote exe Pin
Saksida Bojan6-May-05 10:59
Saksida Bojan6-May-05 10:59 
GeneralRe: Remote exe - Rephrase question Pin
NRayman6-May-05 11:05
NRayman6-May-05 11:05 
GeneralRe: Remote exe - Rephrase question Pin
Colin Angus Mackay6-May-05 11:13
Colin Angus Mackay6-May-05 11:13 
GeneralRe: Remote exe - Rephrase question Pin
NRayman6-May-05 11:52
NRayman6-May-05 11:52 
GeneralRe: Remote exe - Rephrase question Pin
Colin Angus Mackay6-May-05 11:56
Colin Angus Mackay6-May-05 11:56 

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.