Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Security.​Cryptography.​CngProvider
Assembly: System.Security.Cryptography
Inheritance: object → CngProvider
Encapsulates the name of a key storage provider (KSP) for use with Cryptography Next Generation (CNG) objects.
Properties
public
string
Provider
Gets the name of the key storage provider (KSP) that the current <see cref="T:System.Security.Cryptography.CngProvider" /> object specifies.
Methods
public
bool
Equals​(object obj)
obj
An object to be compared to the current <see cref="T:System.Security.Cryptography.CngProvider" /> object.
Returns <see langword="true" /> if the <paramref name="obj" /> parameter is a <see cref="T:System.Security.Cryptography.CngProvider" /> that specifies the same key storage provider(KSP) as the current object; otherwise, <see langword="false" /> .
Compares the specified object to the current <see cref="T:System.Security.Cryptography.CngProvider" /> object.
public
bool
Equals​(CngProvider other)
other
An object to be compared to the current <see cref="T:System.Security.Cryptography.CngProvider" /> object.
Returns <see langword="true" /> if the <paramref name="other" /> parameter specifies the same key storage provider (KSP) as the current object; otherwise, <see langword="false" /> .
Compares the specified <see cref="T:System.Security.Cryptography.CngProvider" /> object to the current <see cref="T:System.Security.Cryptography.CngProvider" /> object.
public
int
GetHashCode​() Returns The hash value of the embedded KSP name.
Generates a hash value for the name of the key storage provider (KSP) that is embedded in the current <see cref="T:System.Security.Cryptography.CngProvider" /> object.
public
string
ToString​() Returns The embedded KSP name.
Gets the name of the key storage provider (KSP) that the current <see cref="T:System.Security.Cryptography.CngProvider" /> object specifies.
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object