Tests whether two sections of byte arrays are binary identical.

Namespace: CardWerk.SmartCard.Util
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public Shared Function IsEqual( _ 
ByVal a1 As Byte(), _ 
ByVal offset1 As Integer, _ 
ByVal a2 As Byte(), _ 
ByVal offset2 As Integer, _ 
ByVal length As Integer
) As Boolean
This language is not supported or no code example is available.
public static bool IsEqual( 
byte[] a1
int offset1
byte[] a2
int offset2
int length 
)
This language is not supported or no code example is available.
public:  
static bool IsEqual( 
array< Byte >^ a1
int offset1
array< Byte >^ a2
int offset2
int length 
)
This language is not supported or no code example is available.
public static function IsEqual( 
a1 : byte[], 
offset1 : int
a2 : byte[], 
offset2 : int
length : int 
) : boolean;
This language is not supported or no code example is available.

Parameters

a1
Type: byte[]

The first byte[].

offset1
Type: int

.

a2
Type: byte[]

The second byte[].

offset2
Type: int

.

length
Type: int

The length.

Return Value

Type: bool

True if equal, false if not.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0