Click here to Skip to main content
15,909,651 members
Home / Discussions / C#
   

C#

 
QuestionLambda Expressions Pin
Fayu5-Oct-07 6:22
Fayu5-Oct-07 6:22 
AnswerRe: Lambda Expressions Pin
Judah Gabriel Himango5-Oct-07 6:42
sponsorJudah Gabriel Himango5-Oct-07 6:42 
Question.NET Decompiler ?? !! Pin
Dan Suthar5-Oct-07 6:12
professionalDan Suthar5-Oct-07 6:12 
AnswerRe: .NET Decompiler ?? !! Pin
Not Active5-Oct-07 6:17
mentorNot Active5-Oct-07 6:17 
AnswerRe: .NET Decompiler ?? !! Pin
Russell Jones5-Oct-07 6:17
Russell Jones5-Oct-07 6:17 
AnswerRe: .NET Decompiler ?? !! Pin
Nathan Holt at EMOM5-Oct-07 6:18
Nathan Holt at EMOM5-Oct-07 6:18 
GeneralRe: .NET Decompiler ?? !! Pin
Dan Suthar5-Oct-07 19:50
professionalDan Suthar5-Oct-07 19:50 
GeneralRe: .NET Decompiler ?? !! Pin
lmoelleb6-Oct-07 1:17
lmoelleb6-Oct-07 1:17 
Neither .NET or legacy VB are safe against decompiling - it's just more obvious in the case of .NET.

A compiler converts your program from human readable source code to something the computer can easily execute. This is done to help the computer execute your program more efficient - it is not something you do to hide your source code, so you should not be surprised the code is still accesible after compilation.

.NET (and Java for that matter) compiles to a "higher level" than the old VB and C++ compilers and it carries more metadata on the program (method names etc) that makes decompiling them easier than for example C++ and VB programs. Decompiling VB and C++ is still possible however (but obviously not with a program designed to decompile .NET code), so you should NEVER rely on your code not being decompiled as "security".

With regards to security in general, maybe you should for a split second consider that it's not all about the programmer. It's obviously more secure for the user to run a program that has proper metadata to allow the runtime to verify what is going on - Running a program that deliberately try to hide what it is doing can be called a lot of things, secure isn't one of them.

And experienced programmers know there is nothing exceptional clever in their code anyway, so why try to hide it? Smile | :)
GeneralRe: .NET Decompiler ?? !! Pin
Dan Suthar6-Oct-07 2:22
professionalDan Suthar6-Oct-07 2:22 
GeneralRe: .NET Decompiler ?? !! Pin
lmoelleb6-Oct-07 3:18
lmoelleb6-Oct-07 3:18 
GeneralRe: .NET Decompiler ?? !! Pin
Nathan Holt at EMOM8-Oct-07 9:38
Nathan Holt at EMOM8-Oct-07 9:38 
AnswerRe: .NET Decompiler ?? !! Pin
Dan Suthar8-Oct-07 21:37
professionalDan Suthar8-Oct-07 21:37 
QuestionAssembly/DLL Hierarchy Deployed Behind a Web Service Problem Pin
Alex Webber5-Oct-07 6:02
Alex Webber5-Oct-07 6:02 
Questionpowershell scripts Pin
winsane5-Oct-07 6:02
winsane5-Oct-07 6:02 
QuestionProblem with columns in DataGridView Pin
Knoen5-Oct-07 5:07
Knoen5-Oct-07 5:07 
AnswerRe: Problem with columns in DataGridView Pin
led mike5-Oct-07 5:45
led mike5-Oct-07 5:45 
GeneralRe: Problem with columns in DataGridView Pin
Knoen5-Oct-07 5:47
Knoen5-Oct-07 5:47 
GeneralRe: Problem with columns in DataGridView Pin
led mike5-Oct-07 6:15
led mike5-Oct-07 6:15 
GeneralRe: Problem with columns in DataGridView Pin
Knoen5-Oct-07 6:24
Knoen5-Oct-07 6:24 
Questiontextbox check Pin
NewToAspDotNet5-Oct-07 4:29
NewToAspDotNet5-Oct-07 4:29 
AnswerRe: textbox check Pin
Matthew Cuba5-Oct-07 4:47
Matthew Cuba5-Oct-07 4:47 
AnswerRe: textbox check Pin
PIEBALDconsult5-Oct-07 4:53
mvePIEBALDconsult5-Oct-07 4:53 
AnswerRe: textbox check Pin
Peter Vertes5-Oct-07 5:04
Peter Vertes5-Oct-07 5:04 
AnswerRe: textbox check Pin
Ajay.k_Singh5-Oct-07 5:21
Ajay.k_Singh5-Oct-07 5:21 
Question"Anti-Grain Geometry" question Pin
Richard Blythe5-Oct-07 4:18
Richard Blythe5-Oct-07 4:18 

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.