ICLRAssemblyIdentityManager Interface

Provides methods that support communication between the host and the common language runtime (CLR) about assemblies.

interface ICLRAssemblyIdentityManager : IUnknown {
    HRESULT GetBindingIdentityFromFile (
        [in] LPCWSTR  pwzFilePath,
        [in] DWORD dwFlags,
        [out, size_is(*pcchBufferSize)] LPWSTR pwzBuffer,
        [in, out] DWORD *pcchBufferSize
    );
    HRESULT GetBindingIdentityFromStream (
        [in] IStream *pStream,
        [in] DWORD dwFlags,
        [out, size_is(*pcchBufferSize)] LPWSTR pwzBuffer,
        [in, out] DWORD *pcchBufferSize
    );
    HRESULT  GetCLRAssemblyReferenceList (
        [in] LPCWSTR *ppwzAssemblyReferences,
        [in] DWORD dwNumOfReferences,
        [out] ICLRAssemblyReferenceList **ppReferenceList
    );
    HRESULT GetProbingAssembliesFromReference (
        [in] DWORD dwMachineType,
        [in] DWORD dwFlags,
        [in] LPCWSTR pwzReferenceIdentity,
        [out] ICLRProbingAssemblyEnum **ppProbingAssemblyEnum
    );
    HRESULT GetReferencedAssembliesFromFile (
        [in] LPCWSTR pwzFilePath,
        [in] DWORD dwFlags,
        [in] ICLRAssemblyReferenceList *pExcludeAssembliesList,
        [out] ICLRReferenceAssemblyEnum **ppReferenceEnum
    );
    HRESULT GetReferencedAssembliesFromStream (
        [in] IStream *pStream,
        [in] DWORD dwFlags,
        [in] ICLRAssemblyReferenceList *pExcludeAssembliesList,
        [out] ICLRReferenceAssemblyEnum **ppReferenceEnum
    );
    HRESULT IsStronglyNamed (
        [in] LPCWSTR pwzAssemblyIdentity,
        [out] BOOL *pbIsStronglyNamed
    );
};

Method

Description

ICLRAssemblyIdentityManager::GetBindingIdentityFromFile Method

Gets the assembly identity binding data for the assembly at the specified file path.

ICLRAssemblyIdentityManager::GetBindingIdentityFromStream Method

Gets the canonical assembly identity data for the assembly in the specified stream.

ICLRAssemblyIdentityManager::GetCLRAssemblyReferenceList Method

Gets an ICLRAssemblyReferenceList instance from the supplied list of partial assembly identities.

ICLRAssemblyIdentityManager::GetProbingAssembliesFromReference Method

Gets an ICLRProbingAssemblyEnum enumerator for the assembly identities referenced by the assembly with the specified identity.

ICLRAssemblyIdentityManager::GetReferencedAssembliesFromFile Method

Gets an ICLRReferenceAssemblyEnum instance that contains a list of assemblies referenced by the assembly at the specified file path.

ICLRAssemblyIdentityManager::GetReferencedAssembliesFromStream Method

Gets a pointer to an ICLRReferenceAssemblyEnum object that contains assembly identity data for the assemblies referenced by the assembly in the specified stream.

ICLRAssemblyIdentityManager::IsStronglyNamed Method

Gets a value that indicates whether the specified assembly is strongly named.

Use ICLRAssemblyIdentityManager to get instances of ICLRAssemblyReferenceList and to enumerate assembly identities.

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft