Click here to Skip to main content
15,914,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: Generic Hashtable Pin
Anonymous3-May-05 5:09
Anonymous3-May-05 5:09 
GeneralRe: Generic Hashtable Pin
leppie2-May-05 14:46
leppie2-May-05 14:46 
GeneralOle Server Pin
BigAnyon2-May-05 5:58
BigAnyon2-May-05 5:58 
GeneralVisual style icons / bitmaps Pin
Anonymous2-May-05 5:45
Anonymous2-May-05 5:45 
GeneralRe: Visual style icons / bitmaps Pin
Judah Gabriel Himango2-May-05 7:05
sponsorJudah Gabriel Himango2-May-05 7:05 
GeneralRe: Visual style icons / bitmaps Pin
MoustafaS2-May-05 8:49
MoustafaS2-May-05 8:49 
GeneralEasy file I/O Pin
briggs_w2-May-05 4:58
briggs_w2-May-05 4:58 
GeneralRe: Easy file I/O Pin
Heath Stewart2-May-05 5:11
protectorHeath Stewart2-May-05 5:11 
This is called serialization, and you can use a BinaryFormatter to serialize. Read Binary Serialization[^] in the .NET Framework SDK for more information and samples.

In C/C++ this works because of how memory is laid out, but in the managed world things are different. Reading data into a struct in native code can also be secure, while the Framework allows you to place constraints on your fields and properties (depending on what you serialize).

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft

[My Articles] [My Blog]
GeneralRe: Easy file I/O Pin
Marc Clifton2-May-05 5:24
mvaMarc Clifton2-May-05 5:24 
General... also ... Pin
Marc Clifton2-May-05 5:26
mvaMarc Clifton2-May-05 5:26 
GeneralRe: Easy file I/O Pin
briggs_w5-May-05 5:50
briggs_w5-May-05 5:50 
GeneralAccess a flat file at http location Pin
mrinmayeek2-May-05 4:27
mrinmayeek2-May-05 4:27 
GeneralRe: Access a flat file at http location Pin
Heath Stewart2-May-05 5:12
protectorHeath Stewart2-May-05 5:12 
GeneralControl Instantiation Pin
terrier_jack2-May-05 4:25
terrier_jack2-May-05 4:25 
GeneralRe: Control Instantiation Pin
Marc Clifton2-May-05 5:08
mvaMarc Clifton2-May-05 5:08 
GeneralRe: Control Instantiation Pin
MoustafaS2-May-05 8:54
MoustafaS2-May-05 8:54 
GeneralHTML control Pin
Anonymous2-May-05 3:39
Anonymous2-May-05 3:39 
GeneralRe: HTML control Pin
Heath Stewart2-May-05 5:16
protectorHeath Stewart2-May-05 5:16 
QuestionHow to Connect Managed and UnManaged code for Socket Programming Pin
Shashidharreddy2-May-05 3:08
Shashidharreddy2-May-05 3:08 
AnswerRe: How to Connect Managed and UnManaged code for Socket Programming Pin
S. Senthil Kumar2-May-05 3:51
S. Senthil Kumar2-May-05 3:51 
AnswerRe: How to Connect Managed and UnManaged code for Socket Programming Pin
Dave Kreskowiak2-May-05 4:03
mveDave Kreskowiak2-May-05 4:03 
General.Net Remoting problem Pin
sokettepower2-May-05 2:23
sokettepower2-May-05 2:23 
GeneralRe: .Net Remoting problem Pin
Heath Stewart2-May-05 5:36
protectorHeath Stewart2-May-05 5:36 
GeneralRe: .Net Remoting problem Pin
sokettepower2-May-05 21:37
sokettepower2-May-05 21:37 
GeneralProperty grid tutorial Pin
Anonymous2-May-05 2:15
Anonymous2-May-05 2:15 

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.