Discussion on:
Message 4 of 5
RE: Protect sensitive data with .NET 2.0's SecureString class
Calling to Marshal.PtrToStringBSTR(ptr) creates a System.String that has the same content with ss. You end up having another copy of the password that has all the problem that you try to avoid in the first place. It defeats the purpose of having SecureString.
Posted by hpham8@...
5th Dec 2007









































