<PackageReference Include="System.Security.Cryptography.Cng" Version="5.0.0" />

System.Security.Cryptography.CngProvider

public sealed class CngProvider : IEquatable<CngProvider>
Encapsulates the name of a key storage provider (KSP) for use with Cryptography Next Generation (CNG) objects.

Gets a CngProvider object that specifies the Microsoft Smart Card Key Storage Provider.

Gets a CngProvider object that specifies the Microsoft Software Key Storage Provider.

public string Provider { get; }

Gets the name of the key storage provider (KSP) that the current CngProvider object specifies.

public CngProvider(string provider)

Initializes a new instance of the CngProvider class.

public static bool op_Equality(CngProvider left, CngProvider right)

Determines whether two CngProvider objects specify the same key storage provider (KSP).

public static bool op_Inequality(CngProvider left, CngProvider right)

Determines whether two CngProvider objects do not represent the same key storage provider (KSP).

public bool Equals(CngProvider other)

Compares the specified CngProvider object to the current CngProvider object.