StrongNameCompareAssemblies Function
Determines whether two assemblies differ only by their strong name signatures.
BOOLEAN StrongNameCompareAssemblies (
[in] LPCWSTR wszAssembly1,
[in] LPCWSTR wszAssembly2,
[out] DWORD *pdwResult
);
Parameters
Parameter | Description |
---|---|
wszAssembly1 |
[in] The path to the first assembly. |
wszAssembly2 |
[in] The path to the second assembly. |
pdwResult |
[out] One of the following values:
|
Return Value
true on successful completion; otherwise, false.
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: StrongName.h
Library: Included as a resource in MsCorEE.dll
.NET Framework Version: 2.0, 1.1, 1.0
Remarks
The strong name signature of an assembly consists of the assembly's text name, version, culture, and public key token.
If the StrongNameCompareAssemblies function does not complete successfully, call the StrongNameErrorInfo Function function to retrieve the last generated error.