LicenseFile..::..LoadFile Method (Stream, RSACryptoServiceProvider, Boolean)
Loads the specified file to create an LicenseFile
Namespace:
CAS.Lib.CodeProtect.LicenseDscAssembly: CAS.CodeProtect (in CAS.CodeProtect.dll)
Syntax
public static LicenseFile LoadFile( Stream stream, RSACryptoServiceProvider key, bool checkSignature )
Public Shared Function LoadFile ( _ stream As Stream, _ key As RSACryptoServiceProvider, _ checkSignature As Boolean _ ) As LicenseFile
public: static LicenseFile^ LoadFile( Stream^ stream, RSACryptoServiceProvider^ key, bool^ checkSignature )
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.
- checkSignature
- Type: Boolean
if true checks signature using given key