Tests whether two given byte arrays are binary identical. Returns false if either parameter is null.

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

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

Parameters

a1
Type: byte[]

The first byte[].

a2
Type: byte[]

The second byte[].

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