ArrayUtil.GetHashCode Method
Generate hash code for a byte array.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Shared Function GetHashCode ( _
array As Byte() _
) As Integer
public static int GetHashCode(
byte[] array
)
public:
static int GetHashCode(
array<unsigned char>^ array
)
static member GetHashCode :
array:byte[] -> int
public static function GetHashCode(
array : byte[]
) : int
Parameters
array
Type: array<System.Byte[]array to generate hash code for.
Return Value
Type: System.Int32
hash generated from the array members.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.