Compares objects.

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

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

Parameters

array1
Type: byte[]

byte array to compare.

array2
Type: byte[]

byte array to compare.

comparisonLength
Type: int

length of comparison.

Return Value

Type: bool

True if it succeeds, false if it fails.

.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