Hello everybody,
I am having a problem with authenticated streams and hopefully one of you can point me into the right direction. I would like to send an object (a filled dataset, as it can be fastly loaded for performance testing... ;o) ) via an authenticated stream. I managed to send it without authentication within a NetworkStream and I go the samples for Negotiate and Ssl streams to work (Thanks to Mike, Durgaprasa, and the rest of your team).
But unfortunately the samples are only sending simple ASCII strings. As soon as I switch to my DataSet I am getting stuck with some problems. As serializing into a Networkstream did not work (any ideas why ) I serialized it into a MemoryStream and copied the bytes afterwards into the NegotiateStream. On the Client I try to read it, what actually works, but I am not sure on how to deserialze it. Right now, I am reading the NegotioateStream in 1024 byte chunks and write these into a new MemoryStream which I wanted to use for the deserializing, but the byte count is somehow different to the serverside object. And all in all this seems odd to me... all this copying around.
I am sure you guys know a much better approach. Any help would be greatly appreciated. Just as a summary: I would like to send a DataSet from the server to the client via a Negotiate (or SSL) Stream...
Thanks in advance
Gope

Nobody?
CaroNZ
Me again,
Nobody managed to send anything else than Strings via a SslStream Any help would be greatly appreciated.
Thanks
dmsy
Josh
robinjam