Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than mscorsn, prefix the name with the module name and a period.
StrongNameKeyGen (mscorsn)
.
C# Signature:
/// <summary>
/// Generate a new key pair with the specified key size for strong name use
/// </summary>
/// <param name="wszKeyContainer">desired key container name</param>
/// <param name="dwFlags">flags</param>
/// <param name="dwKeySize">desired key size</param>
/// <param name="ppbKeyBlob">[out] generated public / private key blob</param>
/// <param name="pcbKeyBlob">[out] size of the generated blob</param>
/// <returns>true if the key was generated, false if there was an error</returns>
[DllImport("mscoree.dll")]
extern static bool StrongNameKeyGenEx([MarshalAs(UnmanagedType.LPWStr)] string
wszKeyContainer, StrongNameKeyGenFlags dwFlags, int dwKeySize,
[Out]out IntPtr ppbKeyBlob, [Out]out long pcbKeyBlob);
Flags for StrongNameKeyGen and StrongNameKeyGenEx methods
3/16/2007 7:43:34 AM - -207.46.238.143
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).