Lire en anglais

Partager via


CngAlgorithm.Equals Méthode

Définition

Compare deux objets CngAlgorithm.

Surcharges

Equals(CngAlgorithm)

Compare l'objet CngAlgorithm spécifié à l'objet CngAlgorithm actuel.

Equals(Object)

Compare l'objet spécifié à l'objet CngAlgorithm actuel.

Equals(CngAlgorithm)

Source:
CngAlgorithm.cs
Source:
CngAlgorithm.cs
Source:
CngAlgorithm.cs

Compare l'objet CngAlgorithm spécifié à l'objet CngAlgorithm actuel.

C#
public bool Equals(System.Security.Cryptography.CngAlgorithm? other);
C#
public bool Equals(System.Security.Cryptography.CngAlgorithm other);

Paramètres

other
CngAlgorithm

Objet à comparer avec l'objet CngAlgorithm actuel.

Retours

true si le paramètre other spécifie le même algorithme que l'objet actuel ; sinon, false.

Implémente

S’applique à

.NET 10 et autres versions
Produit Versions
.NET Core 1.0, Core 1.1, 6, 7, 8, 9, 10
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1 (package-provided)
Windows Desktop 3.0, 3.1, 5

Equals(Object)

Source:
CngAlgorithm.cs
Source:
CngAlgorithm.cs
Source:
CngAlgorithm.cs

Compare l'objet spécifié à l'objet CngAlgorithm actuel.

C#
public override bool Equals(object? obj);
C#
public override bool Equals(object obj);

Paramètres

obj
Object

Objet à comparer avec l'objet CngAlgorithm actuel.

Retours

true si le paramètre obj est un CngAlgorithm qui spécifie le même algorithme que l'objet actuel ; sinon, false.

S’applique à

.NET 10 et autres versions
Produit Versions
.NET Core 1.0, Core 1.1, 6, 7, 8, 9, 10
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1 (package-provided)
Windows Desktop 3.0, 3.1, 5