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