Skip to content

Commit 6bc9ea2

Browse files
committed
undo strong naming changes
1 parent b0895af commit 6bc9ea2

26 files changed

+1374
-1372
lines changed

docs/framework/unmanaged-api/strong-naming/gethashfromassemblyfile-function.md

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -2,67 +2,67 @@
22
description: "Learn more about: GetHashFromAssemblyFile Function"
33
title: "GetHashFromAssemblyFile Function"
44
ms.date: "03/30/2017"
5-
api_name:
5+
api_name:
66
- "GetHashFromAssemblyFile"
7-
api_location:
7+
api_location:
88
- "mscoree.dll"
9-
api_type:
9+
api_type:
1010
- "DLLExport"
11-
f1_keywords:
11+
f1_keywords:
1212
- "GetHashFromAssemblyFile"
13-
helpviewer_keywords:
13+
helpviewer_keywords:
1414
- "GetHashFromAssemblyFile function [.NET Framework strong naming]"
1515
ms.assetid: 751ed69f-b7ab-4e07-80de-e17ca9319b0c
16-
topic_type:
16+
topic_type:
1717
- "apiref"
1818
---
1919
# GetHashFromAssemblyFile Function
2020

21-
Gets a hash of the specified assembly file, using the specified hash algorithm.
22-
23-
This function has been deprecated. Use the [ICLRStrongName::GetHashFromAssemblyFile](../../../core/unmanaged-api/hosting/iclrstrongname-gethashfromassemblyfile-method.md) method instead.
24-
25-
## Syntax
26-
27-
```cpp
28-
HRESULT GetHashFromAssemblyFile (
29-
[in] LPCSTR szFilePath,
30-
[in, out] unsigned int *piHashAlg,
31-
[out] BYTE *pbHash,
32-
[in] DWORD cchHash,
33-
[out] DWORD *pchHash
34-
);
35-
```
36-
37-
## Parameters
38-
39-
`szFilePath`
40-
[in] The path to the file to be hashed.
41-
42-
`piHashAlg`
43-
[in, out] A constant that specifies the hash algorithm. Use zero for the default hash algorithm.
44-
45-
`pbHash`
46-
[out] The returned hash buffer.
47-
48-
`cchHash`
49-
[in] The requested maximum size of `pbHash`.
50-
51-
`pchHash`
52-
[out] The returned size, in bytes, of `pbHash`.
53-
54-
## Requirements
55-
56-
**Platforms:** See [System Requirements](../../get-started/system-requirements.md).
57-
58-
**Header:** StrongName.h
59-
60-
**Library:** Included as a resource in MsCorEE.dll
61-
62-
**.NET Framework Versions:** [!INCLUDE[net_current_v10plus](../../../../includes/net-current-v10plus-md.md)]
63-
21+
Gets a hash of the specified assembly file, using the specified hash algorithm.
22+
23+
This function has been deprecated. Use the [ICLRStrongName::GetHashFromAssemblyFile](../hosting/iclrstrongname-gethashfromassemblyfile-method.md) method instead.
24+
25+
## Syntax
26+
27+
```cpp
28+
HRESULT GetHashFromAssemblyFile (
29+
[in] LPCSTR szFilePath,
30+
[in, out] unsigned int *piHashAlg,
31+
[out] BYTE *pbHash,
32+
[in] DWORD cchHash,
33+
[out] DWORD *pchHash
34+
);
35+
```
36+
37+
## Parameters
38+
39+
`szFilePath`
40+
[in] The path to the file to be hashed.
41+
42+
`piHashAlg`
43+
[in, out] A constant that specifies the hash algorithm. Use zero for the default hash algorithm.
44+
45+
`pbHash`
46+
[out] The returned hash buffer.
47+
48+
`cchHash`
49+
[in] The requested maximum size of `pbHash`.
50+
51+
`pchHash`
52+
[out] The returned size, in bytes, of `pbHash`.
53+
54+
## Requirements
55+
56+
**Platforms:** See [System Requirements](../../get-started/system-requirements.md).
57+
58+
**Header:** StrongName.h
59+
60+
**Library:** Included as a resource in MsCorEE.dll
61+
62+
**.NET Framework Versions:** [!INCLUDE[net_current_v10plus](../../../../includes/net-current-v10plus-md.md)]
63+
6464
## See also
6565

66-
- [GetHashFromAssemblyFile Method](../../../core/unmanaged-api/hosting/iclrstrongname-gethashfromassemblyfile-method.md)
67-
- [GetHashFromAssemblyFileW Method](../../../core/unmanaged-api/hosting/iclrstrongname-gethashfromassemblyfilew-method.md)
68-
- [ICLRStrongName Interface](../../../core/unmanaged-api/hosting/iclrstrongname-interface.md)
66+
- [GetHashFromAssemblyFile Method](../hosting/iclrstrongname-gethashfromassemblyfile-method.md)
67+
- [GetHashFromAssemblyFileW Method](../hosting/iclrstrongname-gethashfromassemblyfilew-method.md)
68+
- [ICLRStrongName Interface](../hosting/iclrstrongname-interface.md)

docs/framework/unmanaged-api/strong-naming/gethashfromassemblyfilew-function.md

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -2,67 +2,67 @@
22
description: "Learn more about: GetHashFromAssemblyFileW Function"
33
title: "GetHashFromAssemblyFileW Function"
44
ms.date: "03/30/2017"
5-
api_name:
5+
api_name:
66
- "GetHashFromAssemblyFileW"
7-
api_location:
7+
api_location:
88
- "mscoree.dll"
9-
api_type:
9+
api_type:
1010
- "DLLExport"
11-
f1_keywords:
11+
f1_keywords:
1212
- "GetHashFromAssemblyFileW"
13-
helpviewer_keywords:
13+
helpviewer_keywords:
1414
- "GetHashFromAssemblyFileW function [.NET Framework strong naming]"
1515
ms.assetid: d1b2b172-5353-42af-a877-cf653c68ece0
16-
topic_type:
16+
topic_type:
1717
- "apiref"
1818
---
1919
# GetHashFromAssemblyFileW Function
2020

21-
Gets a hash of the specified assembly file, using the specified hash algorithm. The path to the assembly file must be specified as a Unicode string.
22-
23-
This function has been deprecated. Use the [ICLRStrongName::GetHashFromAssemblyFileW](../../../core/unmanaged-api/hosting/iclrstrongname-gethashfromassemblyfilew-method.md) method instead.
24-
25-
## Syntax
26-
27-
```cpp
28-
HRESULT GetHashFromAssemblyFileW (
29-
[in] LPCWSTR wszFilePath,
30-
[in, out] unsigned int *piHashAlg,
31-
[out] BYTE *pbHash,
32-
[in] DWORD cchHash,
33-
[out] DWORD *pchHash
34-
);
35-
```
36-
37-
## Parameters
38-
39-
`wszFilePath`
40-
[in] The path to the file to be hashed. This parameter must be a Unicode string.
41-
42-
`piHashAlg`
43-
[in, out] A constant that specifies the hash algorithm. Use zero for the default hash algorithm.
44-
45-
`pbHash`
46-
[out] The returned hash buffer.
47-
48-
`cchHash`
49-
[in] The requested maximum size of `pbHash`.
50-
51-
`pchHash`
52-
[out] The returned size, in bytes, of `pbHash`.
53-
54-
## Requirements
55-
56-
**Platforms:** See [System Requirements](../../get-started/system-requirements.md).
57-
58-
**Header:** StrongName.h
59-
60-
**Library:** Included as a resource in MsCorEE.dll
61-
62-
**.NET Framework Versions:** [!INCLUDE[net_current_v10plus](../../../../includes/net-current-v10plus-md.md)]
63-
21+
Gets a hash of the specified assembly file, using the specified hash algorithm. The path to the assembly file must be specified as a Unicode string.
22+
23+
This function has been deprecated. Use the [ICLRStrongName::GetHashFromAssemblyFileW](../hosting/iclrstrongname-gethashfromassemblyfilew-method.md) method instead.
24+
25+
## Syntax
26+
27+
```cpp
28+
HRESULT GetHashFromAssemblyFileW (
29+
[in] LPCWSTR wszFilePath,
30+
[in, out] unsigned int *piHashAlg,
31+
[out] BYTE *pbHash,
32+
[in] DWORD cchHash,
33+
[out] DWORD *pchHash
34+
);
35+
```
36+
37+
## Parameters
38+
39+
`wszFilePath`
40+
[in] The path to the file to be hashed. This parameter must be a Unicode string.
41+
42+
`piHashAlg`
43+
[in, out] A constant that specifies the hash algorithm. Use zero for the default hash algorithm.
44+
45+
`pbHash`
46+
[out] The returned hash buffer.
47+
48+
`cchHash`
49+
[in] The requested maximum size of `pbHash`.
50+
51+
`pchHash`
52+
[out] The returned size, in bytes, of `pbHash`.
53+
54+
## Requirements
55+
56+
**Platforms:** See [System Requirements](../../get-started/system-requirements.md).
57+
58+
**Header:** StrongName.h
59+
60+
**Library:** Included as a resource in MsCorEE.dll
61+
62+
**.NET Framework Versions:** [!INCLUDE[net_current_v10plus](../../../../includes/net-current-v10plus-md.md)]
63+
6464
## See also
6565

66-
- [GetHashFromAssemblyFileW Method](../../../core/unmanaged-api/hosting/iclrstrongname-gethashfromassemblyfilew-method.md)
67-
- [GetHashFromAssemblyFile Method](../../../core/unmanaged-api/hosting/iclrstrongname-gethashfromassemblyfile-method.md)
68-
- [ICLRStrongName Interface](../../../core/unmanaged-api/hosting/iclrstrongname-interface.md)
66+
- [GetHashFromAssemblyFileW Method](../hosting/iclrstrongname-gethashfromassemblyfilew-method.md)
67+
- [GetHashFromAssemblyFile Method](../hosting/iclrstrongname-gethashfromassemblyfile-method.md)
68+
- [ICLRStrongName Interface](../hosting/iclrstrongname-interface.md)

docs/framework/unmanaged-api/strong-naming/gethashfromblob-function.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ topic_type:
2121

2222
Gets a hash of the assembly at the specified memory address, using the specified hash algorithm.
2323

24-
This function has been deprecated. Use the [ICLRStrongName::GetHashFromBlob](../../../core/unmanaged-api/hosting/iclrstrongname-gethashfromblob-method.md) method instead.
24+
This function has been deprecated. Use the [ICLRStrongName::GetHashFromBlob](../hosting/iclrstrongname-gethashfromblob-method.md) method instead.
2525

2626
## Syntax
2727

@@ -68,5 +68,5 @@ HRESULT GetHashFromBlob (
6868

6969
## See also
7070

71-
- [GetHashFromBlob Method](../../../core/unmanaged-api/hosting/iclrstrongname-gethashfromblob-method.md)
72-
- [ICLRStrongName Interface](../../../core/unmanaged-api/hosting/iclrstrongname-interface.md)
71+
- [GetHashFromBlob Method](../hosting/iclrstrongname-gethashfromblob-method.md)
72+
- [ICLRStrongName Interface](../hosting/iclrstrongname-interface.md)

docs/framework/unmanaged-api/strong-naming/gethashfromfile-function.md

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -2,71 +2,71 @@
22
description: "Learn more about: GetHashFromFile Function"
33
title: "GetHashFromFile Function"
44
ms.date: "03/30/2017"
5-
api_name:
5+
api_name:
66
- "GetHashFromFile"
7-
api_location:
7+
api_location:
88
- "mscoree.dll"
9-
api_type:
9+
api_type:
1010
- "DLLExport"
11-
f1_keywords:
11+
f1_keywords:
1212
- "GetHashFromFile"
13-
helpviewer_keywords:
13+
helpviewer_keywords:
1414
- "GetHashFromFile function [.NET Framework strong naming]"
1515
ms.assetid: b3c526a4-8fb4-4ad6-b6af-42ce9c06492e
16-
topic_type:
16+
topic_type:
1717
- "apiref"
1818
---
1919
# GetHashFromFile Function
2020

21-
Generates a hash over the contents of the specified file.
22-
23-
This function has been deprecated. Use the [ICLRStrongName::GetHashFromFile](../../../core/unmanaged-api/hosting/iclrstrongname-gethashfromfile-method.md) method instead.
24-
25-
## Syntax
26-
27-
```cpp
28-
HRESULT GetHashFromFile (
29-
[in] LPCSTR szFilePath,
21+
Generates a hash over the contents of the specified file.
22+
23+
This function has been deprecated. Use the [ICLRStrongName::GetHashFromFile](../hosting/iclrstrongname-gethashfromfile-method.md) method instead.
24+
25+
## Syntax
26+
27+
```cpp
28+
HRESULT GetHashFromFile (
29+
[in] LPCSTR szFilePath,
3030
[in, out] unsigned int *piHashAlg,
3131
[out] BYTE *pbHash,
3232
[in] DWORD cchHash,
33-
[out] DWORD *pchHash
34-
);
35-
```
36-
37-
## Parameters
38-
39-
`szFilePath`
40-
[in] The name of the file to hash.
41-
42-
`piHashAlg`
43-
[in, out] The algorithm to use when generating the hash. Valid algorithms are those defined by the Win32 CryptoAPI. If `piHashAlg` is set to 0, the default algorithm CALG_SHA-1 is used.
44-
45-
`pbHash`
46-
[out] A byte array containing the generated hash.
47-
48-
`cchHash`
49-
[in] The maximum size of the buffer that `pbHash` points to.
50-
51-
`pchHash`
52-
[out] The size, in bytes, of the returned `pbHash`.
53-
54-
## Remarks
55-
56-
This function is the same as [GetHashFromFileW](gethashfromfilew-function.md), except that the file name specification is ANSI instead of Unicode.
57-
58-
## Requirements
59-
60-
**Platforms:** See [System Requirements](../../get-started/system-requirements.md).
61-
62-
**Header:** StrongName.h
63-
64-
**Library:** Included as a resource in MsCorEE.dll
65-
66-
**.NET Framework Versions:** [!INCLUDE[net_current_v20plus](../../../../includes/net-current-v20plus-md.md)]
67-
33+
[out] DWORD *pchHash
34+
);
35+
```
36+
37+
## Parameters
38+
39+
`szFilePath`
40+
[in] The name of the file to hash.
41+
42+
`piHashAlg`
43+
[in, out] The algorithm to use when generating the hash. Valid algorithms are those defined by the Win32 CryptoAPI. If `piHashAlg` is set to 0, the default algorithm CALG_SHA-1 is used.
44+
45+
`pbHash`
46+
[out] A byte array containing the generated hash.
47+
48+
`cchHash`
49+
[in] The maximum size of the buffer that `pbHash` points to.
50+
51+
`pchHash`
52+
[out] The size, in bytes, of the returned `pbHash`.
53+
54+
## Remarks
55+
56+
This function is the same as [GetHashFromFileW](gethashfromfilew-function.md), except that the file name specification is ANSI instead of Unicode.
57+
58+
## Requirements
59+
60+
**Platforms:** See [System Requirements](../../get-started/system-requirements.md).
61+
62+
**Header:** StrongName.h
63+
64+
**Library:** Included as a resource in MsCorEE.dll
65+
66+
**.NET Framework Versions:** [!INCLUDE[net_current_v20plus](../../../../includes/net-current-v20plus-md.md)]
67+
6868
## See also
6969

70-
- [GetHashFromFile Method](../../../core/unmanaged-api/hosting/iclrstrongname-gethashfromfile-method.md)
71-
- [GetHashFromFileW Method](../../../core/unmanaged-api/hosting/iclrstrongname-gethashfromfilew-method.md)
72-
- [ICLRStrongName Interface](../../../core/unmanaged-api/hosting/iclrstrongname-interface.md)
70+
- [GetHashFromFile Method](../hosting/iclrstrongname-gethashfromfile-method.md)
71+
- [GetHashFromFileW Method](../hosting/iclrstrongname-gethashfromfilew-method.md)
72+
- [ICLRStrongName Interface](../hosting/iclrstrongname-interface.md)

0 commit comments

Comments
 (0)