Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can rawbytestring cleared from memory ?
#5
(09-22-2018, 04:39 AM)Madammar Wrote: i have tried mostly all way to make it zero memory but i can see the plain text in memory

Your example is passing a string literal to NewSecureString(). A string literal is static data that exists in memory for the entire lifetime of the program. So you will always be able to see that string in a memory dump. Try using a dynamically created string instead, one that is populated from user input, or read in from an external file, or even just built up from smaller substrings, etc and see if you have the same issue.

Reply


Messages In This Thread
RE: can rawbytestring cleared from memory ? - by rlebeau - 09-23-2018, 08:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)