Compare two byte arrays

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.7.0.0 (0.7.0.0)

Syntax

C#
public static bool Equals(
	byte[] buf1,
	byte[] buf2
)
Visual Basic (Declaration)
Public Shared Function Equals ( _
	buf1 As Byte(), _
	buf2 As Byte() _
) As Boolean
Visual C++
public:
static bool Equals(
	array<unsigned char>^ buf1, 
	array<unsigned char>^ buf2
)

Parameters

buf1
Type: array< System..::.Byte >[]()[]
First byte array
buf2
Type: array< System..::.Byte >[]()[]
Second byte array

Return Value

True if array contents are the same, otherwise false.

See Also