c# - How to hide important string variable values in exe -


i want hide important string variable values passwords,username,ip , url,etc in .net application (c#,vb.net) in process explorer can view string in image or memory ,i want hide image string

enter image description here

you can stop static analysis encrypting strings , decrypting them @ runtime securestring.

the securestring class designed prevent things passwords being discoverable in memory.

however, note still possible attach debugger process , see strings, need obfuscate using dotfuscator make more difficult see sensitive strings.

here article of problems securestring.

despite drawbacks, think it's still best best.


Comments