StringBuilder's buffer unmanaged address

  • Thread starter Thread starter Igor
  • Start date Start date
I

Igor

I need to take an unmanaged address of the StringBuilder's internal
string buffer without tricks like writing native function or accessing
private field m_StringValue through reflection. Does anysone know less
"evil" way to do this?

Thanks
 
I need to take an unmanaged address of the StringBuilder's internal
string buffer

Why? Are you sure there's no better solution to your problem.



Mattias
 
Back
Top