Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

StrongNameFreeBuffer (mscorsn)
 
.
Summary
Free the buffer allocated by the Strong Name functions

C# Signature:

/// <summary>

/// Free the buffer allocated by strong name functions

/// </summary>

/// <param name="pbMemory">address of memory to free</param>

[DllImport("mscoree.dll")]

public extern static void StrongNameFreeBuffer(IntPtr pbMemory)

/// <summary>
///     Free the buffer allocated by strong name functions
/// </summary>
/// <param name="pbMemory">address of memory to free</param>
[DllImport("mscoree.dll")]
public extern static void StrongNameFreeBuffer(IntPtr pbMemory)

User-Defined Types:

None.

Notes:

This function is exported from mscorsn.dll in v1.0 and v1.1 of the .NET framework, but it will be moved to mscorwks.dll in v2.0. There is a shim in mscoree.dll which will redirect to the appropriate implementation dll, which has the same name.

This function should be used to free the memory from StrongNameKeyGen and StrongNameKeyGenEx.

Sample Code:

See the sample on Shawn Farkas' blog for a complete sample of using this API: http://blogs.msdn.com/shawnfa/archive/2004/07/09/178902.aspx

Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions