ICLRStrongName Interface
Groups all strong naming global static functions that are exported by MSCorEE.dll into a single interface. All ICLRStrongName methods return standard COM HRESULTs.
Methods
Method |
Description |
---|---|
Gets a hash of the specified assembly file, using the specified hash algorithm. |
|
Gets a hash of the assembly file specified as a Unicode string, using the specified hash algorithm. |
|
Gets a hash of the assembly at the specified memory address, using the specified hash algorithm. |
|
Generates a hash over the contents of the specified file. |
|
Generates a hash over the contents of the file specified by a Unicode string. |
|
Generates a hash over the contents of the file with the specified file handle, using the specified hash algorithm. |
|
Determines whether two assemblies differ only by their strong name signatures. |
|
Frees memory that was allocated with a previous call to a strong name method such as StrongNameGetPublicKey, StrongNameTokenFromPublicKey, or StrongNameSignatureGeneration. |
|
Fills the specified buffer with the binary representation of the executable file at the specified address. |
|
Gets a binary representation of the assembly image at the specified memory address. |
|
Gets the public key from a private/public key pair. |
|
Gets the buffer size required for a hash, using the specified hash algorithm. |
|
Deletes the specified key container. |
|
Creates a new public/private key pair for strong name use. |
|
Generates a new public/private key pair with the specified key size for strong name use. |
|
Imports a public/private key pair into a container. |
|
Generates a strong name signature for the specified assembly. |
|
Generates a strong name signature for the specified assembly, based on the specified flags. |
|
Returns the size of the strong name signature. |
|
Gets a value indicating whether the assembly manifest at the supplied path contains a strong name signature, which is verified according to the specified flags. |
|
Gets a value indicating whether the assembly manifest at the supplied path contains a strong name signature. |
|
ICLRStrongName::StrongNameSignatureVerificationFromImage Method |
Verifies that an assembly that has already been mapped to memory is valid for the associated public key. |
Creates a strong name token from the specified assembly file. |
|
Creates a strong name token from the specified assembly file, and returns the public key. |
|
Gets a token representing a public key. |
Remarks
You can get an instance of the ICLRStrongName by calling the ICLRRuntimeInfo::GetInterface method using CLSID_CLRStrongName and IID_ICLRStrongName as parameters.
Requirements
Platforms: See .NET Framework System Requirements.
Header: MetaHost.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: 4