CodeProtectHelpers..::..CreateRSA Method
Initializes an RSACryptoServiceProvider object from the key information provided by the XML string key.
Namespace:
CAS.Lib.CodeProtect.EnvironmentAccessAssembly: CAS.CodeProtect (in CAS.CodeProtect.dll)
Syntax
public static RSACryptoServiceProvider CreateRSA( string key )
Public Shared Function CreateRSA ( _ key As String _ ) As RSACryptoServiceProvider
public: static RSACryptoServiceProvider^ CreateRSA( String^ key )
Return Value
A new instance of RSACryptoServiceProvider.Exceptions
| Exception | Condition |
|---|---|
| CryptographicException | The format of the key parameter is not valid. |
| ArgumentNullException | The key parameter is null |

