LicenseFile..::..LoadFile Method (Stream, RSACryptoServiceProvider)
Loads the specified file to create an LicenseFile and checks the digital signature
Namespace:
CAS.Lib.CodeProtect.LicenseDscAssembly: CAS.CodeProtect (in CAS.CodeProtect.dll)
Syntax
public static LicenseFile LoadFile( Stream stream, RSACryptoServiceProvider key )
Public Shared Function LoadFile ( _ stream As Stream, _ key As RSACryptoServiceProvider _ ) As LicenseFile
public: static LicenseFile^ LoadFile( Stream^ stream, RSACryptoServiceProvider^ key )
Parameters
- stream
- Type: Stream
The stream to use to open the file.
- key
- Type: RSACryptoServiceProvider
The encryption key to be used to digitally sign the file.