String in the exe file.

  • Thread starter Thread starter Boki Digtal
  • Start date Start date
B

Boki Digtal

Hi All,

I have some special strings in c# code, and I complier it to exe file.

I opened the exe file by a UltraEdit, I can't find the string I define
in code.

Does that mean other people can't find the string as well?

Best regards,
Boki.
 
I have some special strings in c# code, and I complier it to exe file.
I opened the exe file by a UltraEdit, I can't find the string I define
in code.

They are stored as UTF-16.

This means that
"Hello"
will not be stored as
48 65 6c 6c 6f
but as
48 00 65 00 6c 00 6c 00 6f 00
 
Use a obfuscator?

Obfuscation will probably keep out the merely curious, but will certainly
not stop a determined hacker...

You could always encrypt the strings before storing them...
 
Back
Top