Click here to Skip to main content
15,904,497 members
Home / Discussions / C#
   

C#

 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 5:47
Le centriste8-Apr-09 5:47 
GeneralRe: Just for fun - what's the output of this? Pin
DominLondon8-Apr-09 5:48
DominLondon8-Apr-09 5:48 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 5:53
Le centriste8-Apr-09 5:53 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 5:56
Rob Philpott8-Apr-09 5:56 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 6:08
Le centriste8-Apr-09 6:08 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 6:15
Rob Philpott8-Apr-09 6:15 
AnswerRe: Just for fun - what's the output of this? Pin
musefan8-Apr-09 5:59
musefan8-Apr-09 5:59 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 6:02
Rob Philpott8-Apr-09 6:02 
GeneralRe: Just for fun - what's the output of this? Pin
musefan8-Apr-09 6:08
musefan8-Apr-09 6:08 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 6:10
Le centriste8-Apr-09 6:10 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 6:12
Rob Philpott8-Apr-09 6:12 
GeneralRe: Just for fun - what's the output of this? Pin
musefan8-Apr-09 6:10
musefan8-Apr-09 6:10 
AnswerRe: Just for fun - what's the output of this? Pin
harold aptroot8-Apr-09 6:04
harold aptroot8-Apr-09 6:04 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 6:05
Rob Philpott8-Apr-09 6:05 
GeneralRe: Just for fun - what's the output of this? Pin
harold aptroot8-Apr-09 6:08
harold aptroot8-Apr-09 6:08 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 6:10
Rob Philpott8-Apr-09 6:10 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 11:33
Le centriste8-Apr-09 11:33 
GeneralRe: Just for fun - what's the output of this? Pin
MNantu8-Apr-09 6:15
MNantu8-Apr-09 6:15 
QuestionSelected row in data grid Pin
mrkeivan8-Apr-09 5:08
mrkeivan8-Apr-09 5:08 
AnswerRe: Selected row in data grid Pin
he.david88-Apr-09 6:09
he.david88-Apr-09 6:09 
AnswerRe: Selected row in data grid Pin
Henry Minute8-Apr-09 11:07
Henry Minute8-Apr-09 11:07 
AnswerFound it ! Pin
mrkeivan9-Apr-09 7:28
mrkeivan9-Apr-09 7:28 
QuestionHow to check if a file is encrypted Pin
Russell Napier8-Apr-09 4:49
Russell Napier8-Apr-09 4:49 
Hello all,

I have written a simple application that allows me to encrypt / decrypt files using AES256 encryption. This part works. Smile | :) However, when using wildcards for decryption such as *.doc if you attempt to decrypt a file that was not previously encrypted a Crypto exception is thrown regarding invalid data length.

Is there a way to detect if a file is encrypted or not? I have searched and all I can find is the option of setting the encrypted attribute but this requires using the windows api and I wanted to avoid this.

Thanks for your help.

Russell
AnswerRe: How to check if a file is encrypted Pin
Xmen Real 8-Apr-09 5:01
professional Xmen Real 8-Apr-09 5:01 
AnswerRe: How to check if a file is encrypted Pin
0x3c08-Apr-09 5:02
0x3c08-Apr-09 5:02 

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.