IBrowserSetPrivateKeyProviderPin Method |
Namespace: DotNetBrowser.Browser
bool SetPrivateKeyProviderPin( CspParameters cspParameters )
Exception | Condition |
---|---|
ObjectDisposedException | The IBrowser has already been disposed. |
ConnectionClosedException | The connection to the Chromium engine is closed. |
ArgumentException | The cspParameters is null. |
ArgumentException | Any of the required parameters in cspParameters is null, empty, or consists only of white-space characters. |
This functionality is Windows-only. The implementation will return false in other environments.
If the PIN was not set successfully, the actual error will be written to DotNetBrowser logs.