Click here to Skip to main content
15,923,689 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# process.start and problem with argument Pin
Luc Pattyn23-Mar-10 15:27
sitebuilderLuc Pattyn23-Mar-10 15:27 
GeneralRe: C# process.start and problem with argument Pin
Dave Kreskowiak23-Mar-10 17:54
mveDave Kreskowiak23-Mar-10 17:54 
GeneralRe: C# process.start and problem with argument Pin
Luc Pattyn23-Mar-10 18:17
sitebuilderLuc Pattyn23-Mar-10 18:17 
AnswerRe: C# process.start and problem with argument Pin
Dave Kreskowiak23-Mar-10 17:53
mveDave Kreskowiak23-Mar-10 17:53 
QuestionAppending data to a aes encrypted file? Pin
Balletje23-Mar-10 7:10
Balletje23-Mar-10 7:10 
AnswerRe: Appending data to a aes encrypted file? Pin
OriginalGriff23-Mar-10 7:24
mveOriginalGriff23-Mar-10 7:24 
GeneralRe: Appending data to a aes encrypted file? Pin
Balletje23-Mar-10 7:35
Balletje23-Mar-10 7:35 
GeneralRe: Appending data to a aes encrypted file? Pin
OriginalGriff23-Mar-10 9:25
mveOriginalGriff23-Mar-10 9:25 
Balletje wrote:
Using a memory stream to let's say decrypt a big file into memory, let's say 200MB wouldn't that affect system speed?


Yes. It may speed it up...

It's one of "those answers" which depends on too many variables: Does your system cache HDD writes? Does the HDD hardware cache writes, and is it big enough?

Think about it: If the stream stays in memory, it will be faster than writing to HDD (unless the HDD data also stays in memory). If it gets paged out, then it will be at about the same speed as the temporary file solution, except any other activity in the PC will slow down.

For me, the security risk of leaving unencrypted data just lying around is too high - it defeats the purpose of encryption in the first place. I always decrypt to memory - I may have no control over the page table, nor how many fragments of unencrypted data are in memory, but at least I can be as confident as possible that if you turn the power off, it will be a non-trivial task to access the unencrypted data!
You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace

C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy

GeneralRe: Appending data to a aes encrypted file? Pin
Balletje23-Mar-10 9:32
Balletje23-Mar-10 9:32 
AnswerRe: Appending data to a aes encrypted file? Pin
harold aptroot23-Mar-10 7:34
harold aptroot23-Mar-10 7:34 
AnswerRe: Appending data to a aes encrypted file? Pin
Balletje23-Mar-10 7:45
Balletje23-Mar-10 7:45 
GeneralRe: Appending data to a aes encrypted file? Pin
harold aptroot23-Mar-10 11:34
harold aptroot23-Mar-10 11:34 
GeneralRe: Appending data to a aes encrypted file? Pin
Balletje23-Mar-10 21:38
Balletje23-Mar-10 21:38 
GeneralRe: Appending data to a aes encrypted file? Pin
harold aptroot24-Mar-10 1:38
harold aptroot24-Mar-10 1:38 
AnswerRe: Appending data to a aes encrypted file? Pin
Sir Dot Net23-Mar-10 8:14
Sir Dot Net23-Mar-10 8:14 
QuestionHow can I recover deleted files in C#? Pin
sunlord_clave23-Mar-10 6:33
sunlord_clave23-Mar-10 6:33 
AnswerRe: How can I recover deleted files in C#? Pin
Abhinav S23-Mar-10 7:21
Abhinav S23-Mar-10 7:21 
QuestionLane Tracking and Distancing Pin
sebogawa23-Mar-10 6:23
sebogawa23-Mar-10 6:23 
AnswerRe: Lane Tracking and Distancing Pin
Keith Barrow23-Mar-10 7:43
professionalKeith Barrow23-Mar-10 7:43 
GeneralRe: Lane Tracking and Distancing Pin
sebogawa23-Mar-10 12:33
sebogawa23-Mar-10 12:33 
GeneralRe: Lane Tracking and Distancing Pin
Keith Barrow23-Mar-10 13:50
professionalKeith Barrow23-Mar-10 13:50 
AnswerRe: Lane Tracking and Distancing Pin
Som Shekhar23-Mar-10 7:51
Som Shekhar23-Mar-10 7:51 
GeneralRe: Lane Tracking and Distancing Pin
sebogawa23-Mar-10 12:30
sebogawa23-Mar-10 12:30 
AnswerRe: Lane Tracking and Distancing Pin
Luc Pattyn23-Mar-10 7:54
sitebuilderLuc Pattyn23-Mar-10 7:54 
GeneralRe: Lane Tracking and Distancing Pin
sebogawa23-Mar-10 12:36
sebogawa23-Mar-10 12:36 

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.