Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IMetaDataAssemblyImport::GetFileProps Method

Gets the properties of the file with the specified metadata signature.

HRESULT GetFileProps (
    [in]  mdFile      mdf, 
    [out] LPWSTR      szName, 
    [in]  ULONG       cchName, 
    [out] ULONG       *pchName, 
    [out] const void  **ppbHashValue, 
    [out] ULONG       *pcbHashValue, 
    [out] DWORD       *pdwFileFlags


[in] The mdFile metadata token that represents the file for which to get the properties.


[out] The simple name of the file.


[in] The size, in wide chars, of szName.


[out] The number of wide chars actually returned in szName.


[out] A pointer to the hash value. This is the hash, using the SHA-1 algorithm, of the file.


[out] The number of wide chars in the returned hash value.


[out] A pointer to the flags that describe the metadata applied to a file. The flags value is a combination of one or more CorFileFlags values.

Platform: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

Community Additions

© 2015 Microsoft