Encapsulates the name of a key storage provider (KSP) for use with Cryptography Next Generation (CNG) objects.
Assembly: System.Core (in System.Core.dll)
Gets aobject that specifies the Microsoft Smart Card Key Storage Provider.
Gets aobject that specifies the Microsoft Software Key Storage Provider.
Gets the name of the key storage provider (KSP) that the currentobject specifies.
Compares the specifiedobject to the current object.
Compares the specified object to the current Object.Equals(Object).)object.(Overrides
Generates a hash value for the name of the key storage provider (KSP) that is embedded in the current Object.GetHashCode().)object.(Overrides
Gets the name of the key storage provider (KSP) that the current Object.ToString().)object specifies.(Overrides
Theclass is a utility class. It consists of static properties, comparison methods, and a private, internally maintained string that specifies a key storage provider.
The static properties returnobjects. Each object's internal string is initialized to the provider name that corresponds to the name of the static property.
You can also use this class to create objects for provider types that are not covered by the static properties.
Several CNG classes (such as CngKey) accept objects through a provider parameter. When the class receives the object, it retrieves the embedded provider name by calling the object's Provider property.
Therefore,serves as an enumeration of well-known providers. It lets you identify a provider by using a strongly typed value instead of a string.
Available since 3.5
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.