Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CngKeyCreationParameters::Provider Property

 

Gets or sets the key storage provider (KSP) to create a key in.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

public:
property CngProvider^ Provider {
	CngProvider^ get();
	void set(CngProvider^ value);
}

Property Value

Type: System.Security.Cryptography::CngProvider^

An object that specifies the KSP that a new key will be created in.

Exception Condition
ArgumentNullException

The Provider property is set to a null value.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft