Click here to Skip to main content
15,564,337 members
Home / Discussions / C#
   

C#

 
GeneralRe: Internet downloading problem... Pin
Heath Stewart14-Jan-04 8:45
protectorHeath Stewart14-Jan-04 8:45 
GeneralRe: Internet downloading problem... Pin
Kentamanos14-Jan-04 10:05
Kentamanos14-Jan-04 10:05 
Generalremoting "newbie" questions Pin
Palladino14-Jan-04 3:24
Palladino14-Jan-04 3:24 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 4:07
LongRange.Shooter14-Jan-04 4:07 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 4:23
LongRange.Shooter14-Jan-04 4:23 
GeneralRe: remoting "newbie" questions Pin
Palladino14-Jan-04 9:13
Palladino14-Jan-04 9:13 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter14-Jan-04 11:46
LongRange.Shooter14-Jan-04 11:46 
GeneralRe: remoting "newbie" questions Pin
Palladino15-Jan-04 2:36
Palladino15-Jan-04 2:36 
Hi again Michael,

Unintentionally to abuse, but already abusing Wink | ;) am not sure if I understood what you wanted to say below sentence:

theRealCondor wrote:
The only item that I would say you should make an adjustment to is the ISerializable implementation. The reason I say so is that you have to implement your own serializer/deserializer!!!

The one that I thought about doing is something of the type:

[Serializable()]  
public class MyModelObject : ISerializable  
{  
private int a;  
private string b;  

public MyModelObject()  
{  
}  
  
public MyModelObject(int a, string b):base()  
{  
this.a = a;  
this.b = b;  
}  
  
protected MyModelObject(SerializationInfo info, StreamingContext context)  
{  
this.A = info.GetInt32("A");  
this.B = info.GetString("B");  
}  
  
public int A  
{  
get {return this.a;}  
set {this.a = value;}  
}  
  
public string B  
{  
get {return this.b;}  
set {this.b = value;}  
}  
 
void ISerializable.GetObjectData(SerializationInfo info,   
StreamingContext context)  
{  
info.AddValue("A", this.a);  
info.AddValue("B", this.b);  
}  
}


For the what could understand I should not make this?! Only use [Serializable()] it didn't work. Can you feel a light (larger still)? Confused | :confused:

Greetings,

Marcelo Palladino
Brazil
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter15-Jan-04 3:55
LongRange.Shooter15-Jan-04 3:55 
GeneralRe: remoting "newbie" questions Pin
LongRange.Shooter15-Jan-04 4:24
LongRange.Shooter15-Jan-04 4:24 
GeneralRe: remoting "newbie" questions Pin
Palladino15-Jan-04 6:43
Palladino15-Jan-04 6:43 
GeneralDebugging Pin
jyoti doiphode14-Jan-04 0:58
jyoti doiphode14-Jan-04 0:58 
GeneralRe: Debugging Pin
Heath Stewart14-Jan-04 5:41
protectorHeath Stewart14-Jan-04 5:41 
GeneralFinding names of local user accounts Pin
EnkelIk14-Jan-04 0:46
EnkelIk14-Jan-04 0:46 
GeneralRe: Finding names of local user accounts Pin
Mazdak14-Jan-04 3:51
Mazdak14-Jan-04 3:51 
GeneralRe: Finding names of local user accounts Pin
EnkelIk14-Jan-04 5:54
EnkelIk14-Jan-04 5:54 
GeneralRe: Finding names of local user accounts Pin
Mazdak14-Jan-04 9:20
Mazdak14-Jan-04 9:20 
GeneralReversible Frames on Windows Forms Pin
occcy13-Jan-04 23:22
occcy13-Jan-04 23:22 
GeneralRe: Reversible Frames on Windows Forms Pin
Heath Stewart14-Jan-04 5:14
protectorHeath Stewart14-Jan-04 5:14 
QuestionHow use Ms treeView In asp.net Pin
Old Gun13-Jan-04 23:03
Old Gun13-Jan-04 23:03 
AnswerRe: How use Ms treeView In asp.net Pin
Heath Stewart14-Jan-04 5:04
protectorHeath Stewart14-Jan-04 5:04 
GeneralRe: How use Ms treeView In asp.net Pin
Not Active14-Jan-04 8:02
mentorNot Active14-Jan-04 8:02 
Generalsharing internet offline files Pin
Mohamad Al Husseiny13-Jan-04 19:18
Mohamad Al Husseiny13-Jan-04 19:18 
GeneralRe: sharing internet offline files Pin
Heath Stewart14-Jan-04 5:02
protectorHeath Stewart14-Jan-04 5:02 
GeneralRe: sharing internet offline files Pin
Mohamad Al Husseiny14-Jan-04 20:20
Mohamad Al Husseiny14-Jan-04 20:20 

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.