LicenseFile..::..LoadFile Method (FileInfo, RSACryptoServiceProvider, Boolean)
Loads the specified file to create a LicenseFile.
Namespace:
CAS.Lib.CodeProtect.LicenseDscAssembly: CAS.CodeProtect (in CAS.CodeProtect.dll)
Syntax
public static LicenseFile LoadFile( FileInfo license, RSACryptoServiceProvider key, bool checkSignature )
Public Shared Function LoadFile ( _ license As FileInfo, _ key As RSACryptoServiceProvider, _ checkSignature As Boolean _ ) As LicenseFile
public: static LicenseFile^ LoadFile( FileInfo^ license, RSACryptoServiceProvider^ key, bool^ checkSignature )
Parameters
- key
- Type: RSACryptoServiceProvider
The products public keys to verify the license signature..
- checkSignature
- Type: Boolean
if set to true the signature is checked.