Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the set of properties for the assembly with the specified metadata signature.
Syntax
HRESULT GetAssemblyProps(
[in] mdAssembly mda,
[out] const BYTE **ppbPublicKey,
[out] ULONG *pcbPublicKey,
[out] ULONG *pulHashAlgId,
[out] LPWSTR szName,
[in] ULONG cchName,
[out] ULONG *pchName,
[out] ASSEMBLYMETADATA *pMetaData,
[out] DWORD *pdwAssemblyFlags
);
Parameters
[in] mda
The mdAssembly metadata token that represents the assembly for which to get the properties.
[out] ppbPublicKey
A pointer to the public key or the metadata token.
[out] pcbPublicKey
The number of bytes in the returned public key.
[out] pulHashAlgId
A pointer to the algorithm used to hash the files in the assembly.
[out] szName
The simple name of the assembly.
[in] cchName
The size, in wide chars, of szName.
[out] pchName
The number of wide chars actually returned in szName.
[out] pMetaData
A pointer to an ASSEMBLYMETADATA structure that contains the assembly metadata.
[out] pdwAssemblyFlags
Flags that describe the metadata applied to an assembly. This value is a combination of one or more CorAssemblyFlags values.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | rometadataapi.h |