ZeroMemory in .NET?

  • Thread starter Thread starter TDC
  • Start date Start date
T

TDC

Pretty much as stated in the subject. Is there any easy way to zero
out a buffer?

All I could think of (aside from re-creating the byte array over and
over again) is pinning the byte array and p/invoking ZeroMemory
(assuming it exists in coredll).

Any thoughts?
Tom
 
Back
Top