How to convert String
to SecureString
?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Generic Generics in Managed C++
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
The following 2 extensions should do the trick:
For a
char
arrayAnd for
string
Thanks to John Dagg for the
AppendChar
recommendation.