Click here to Skip to main content
15,889,096 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# windowless application for screen capture and replay Pin
parth_patel18-Jun-09 14:00
parth_patel18-Jun-09 14:00 
GeneralRe: C# windowless application for screen capture and replay Pin
parth_patel18-Jun-09 14:12
parth_patel18-Jun-09 14:12 
GeneralRe: C# windowless application for screen capture and replay Pin
Dan Neely18-Jun-09 9:17
Dan Neely18-Jun-09 9:17 
GeneralRe: C# windowless application for screen capture and replay Pin
parth_patel18-Jun-09 14:01
parth_patel18-Jun-09 14:01 
Questionc# crypto client/server problem Pin
Kraoc18-Jun-09 5:51
Kraoc18-Jun-09 5:51 
GeneralRe: c# crypto client/server problem Pin
harold aptroot18-Jun-09 6:40
harold aptroot18-Jun-09 6:40 
GeneralRe: c# crypto client/server problem Pin
Kraoc19-Jun-09 0:57
Kraoc19-Jun-09 0:57 
AnswerRe: c# crypto client/server problem Pin
OriginalGriff18-Jun-09 8:21
mveOriginalGriff18-Jun-09 8:21 
I have had similar problems working with CryptoStream <-> generic stream routines, and found differences between FileStream and MemoryStream, particularly that the Flush method didn't seem to work with MemoryStreams. In this case, I got no data until I closed the stream (which destroys the MemoryStream).
The workaround I used was to provide the size of the unencrypted data as part of the encyrpted output, append an extra block of random rubbish to the Cytpro stream after my data, and truncate back when decrypting.
It is worth trying with NetworkStream / CryptoStream since it could cause your problem?
If not, we are probably going to need a cut-down code fragment...

No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

GeneralRe: c# crypto client/server problem [modified] Pin
Kraoc19-Jun-09 1:00
Kraoc19-Jun-09 1:00 
AnswerRe: c# crypto client/server problem [modified] Pin
Kraoc19-Jun-09 2:20
Kraoc19-Jun-09 2:20 
GeneralRe: c# crypto client/server problem Pin
OriginalGriff19-Jun-09 3:47
mveOriginalGriff19-Jun-09 3:47 
GeneralRe: c# crypto client/server problem Pin
Kraoc21-Jun-09 10:08
Kraoc21-Jun-09 10:08 
GeneralRe: c# crypto client/server problem Pin
OriginalGriff22-Jun-09 6:14
mveOriginalGriff22-Jun-09 6:14 
QuestionHow to Determine the path of .msi file? Pin
Narendra Reddy Vajrala18-Jun-09 5:26
Narendra Reddy Vajrala18-Jun-09 5:26 
AnswerRe: How to Determine the path of .msi file? Pin
MumbleB18-Jun-09 19:50
MumbleB18-Jun-09 19:50 
QuestionCheck to se if user is logged on Pin
precious roy18-Jun-09 4:47
precious roy18-Jun-09 4:47 
AnswerRe: Check to se if user is logged on Pin
dan!sh 18-Jun-09 5:01
professional dan!sh 18-Jun-09 5:01 
GeneralRe: Check to se if user is logged on Pin
precious roy18-Jun-09 5:17
precious roy18-Jun-09 5:17 
GeneralRe: Check to se if user is logged on Pin
dan!sh 18-Jun-09 5:54
professional dan!sh 18-Jun-09 5:54 
QuestionProblem between e.Graphics.DrawString() and PrintDirect Pin
totoprog18-Jun-09 4:25
totoprog18-Jun-09 4:25 
QuestionARCGIS, Please help!! It's urgent Pin
Andisheh_K18-Jun-09 4:11
Andisheh_K18-Jun-09 4:11 
AnswerRe: ARCGIS, Please help!! It's urgent Pin
DaveyM6918-Jun-09 4:17
professionalDaveyM6918-Jun-09 4:17 
GeneralRe: ARCGIS, Please help!! It's urgent Pin
Andisheh_K18-Jun-09 4:40
Andisheh_K18-Jun-09 4:40 
QuestionHow to develop sliding/moving icons/images using key in windows mobile Pin
shanky118-Jun-09 4:10
shanky118-Jun-09 4:10 
AnswerRe: How to develop sliding/moving icons/images using key in windows mobile Pin
Henry Minute18-Jun-09 8:33
Henry Minute18-Jun-09 8:33 

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.