Strong Naming Global Static Functions
This section describes the unmanaged global static functions that are used to administer strong name signing for assemblies.
In This Section
GetHashFromAssemblyFile Function
Gets a hash of the specified assembly file, using the specified hash algorithm.GetHashFromAssemblyFileW Function
Gets a hash of the assembly file specified as a Unicode string, using the specified hash algorithm.GetHashFromBlob Function
Gets a hash of the assembly at the specified memory address, using the specified hash algorithm.GetHashFromFile Function
Generates a hash over the contents of the specified file.GetHashFromFileW Function
Generates a hash over the contents of the file specified by a Unicode string.GetHashFromHandle Function
Generates a hash over the contents of the file with the specified file handle, using the specified hash algorithm.StrongNameCompareAssemblies Function
Determines whether two assemblies differ only by their strong name signatures.StrongNameErrorInfo Function
Gets the last error code that was raised by one of the strong name functions.StrongNameFreeBuffer Function
Frees memory that was allocated with a previous call to a strong name function such as StrongNameGetPublicKey, StrongNameTokenFromPublicKey, or StrongNameSignatureGeneration.StrongNameGetBlob Function
Fills the specified buffer with the binary representation of the executable file at the specified address.StrongNameGetBlobFromImage Function
Gets a binary representation of the assembly image at the specified memory address.StrongNameGetPublicKey Function
Gets the public key from a private/public key pair.StrongNameHashSize Function
Gets the buffer size required for a hash, using the specified hash algorithm.StrongNameKeyDelete Function
Deletes the specified key container.StrongNameKeyGen Function
Creates a new public/private key pair for strong name use.StrongNameKeyGenEx Function
Generates a new public/private key pair with the specified key size for strong name use.StrongNameKeyInstall Function
Imports a public/private key pair into a container.StrongNameSignatureGeneration Function
Generates a strong name signature for the specified assembly.StrongNameSignatureGenerationEx Function
Generates a strong name signature for the specified assembly, based on the specified flags.StrongNameSignatureSize Function
Returns the size of the strong name signature.StrongNameSignatureVerification Function
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.StrongNameSignatureVerificationEx Function
Gets a value indicating whether the assembly manifest at the supplied path contains a strong name signature.StrongNameSignatureVerificationFromImage Function
Verifies that an assembly that has already been mapped to memory is valid for the associated public key.StrongNameTokenFromAssembly Function
Creates a strong name token from the specified assembly file.StrongNameTokenFromAssemblyEx Function
Creates a strong name token from the specified assembly file, and returns the public key.StrongNameTokenFromPublicKey Function
Gets a token representing a public key.