Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
);
Parameters
mdf
[in] The mdFile metadata token that represents the file for which to get the properties.szName
[out] The simple name of the file.cchName
[in] The size, in wide chars, of szName.pchName
[out] The number of wide chars actually returned in szName.ppbHashValue
[out] A pointer to the hash value. This is the hash, using the SHA-1 algorithm, of the file.pcbHashValue
[out] The number of wide chars in the returned hash value.pdwFileFlags
[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.
Requirements
Platform: See .NET Framework System Requirements.
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0