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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top