Compile Method (String, TextReader, Stream, String, String, String, String)
Namespace: Mosel
Assembly: xprmdn (in xprmdn.dll) Version: 0.0.0.0

public void Compile( string options, TextReader src, Stream dest, string comm, string pass, string privkey, string pubkeys )
Parameters
- options
-
Type:
SystemString
compilation options (may be null): String formed from:- "g" - include debugging information: in the case of a run time error during the execution of the model the location of the error in the source file may be indicated
- "G" - include tracing information in addition to debugging information; this makes possible execution step by step of the model through a debugger.
- "s" - strip symbols: secure the bim file by removing all private symbol names used in the source model
- "wi" - with this flag a warning is displayed whenever a symbol is implicitly declared
- "p" - parse only: stop after the syntax analysis of the source file, do not compile (no file generated)
- "E" - encrypt the bim file; if no password is provided via the 'pass' parameter, a random key is generated. The encryption procedure requires a private key; if the 'privkey' parameter is not provided, the default key is used. The file 'pubkeys' must contain a list of public key names: the bim loader will require one of the corresponding private keys in order to decrypt the file (if the encryption uses a random key)
- "S" - sign the bim file; the generated bim file is signed with the private key 'privkey' (or the default one if this parameter is null). The bim loader will require the corresponding public key in order to verify this signature.
- "F" - if this flag is set, the argument 'pass' is interpreted as a file containing the password. Otherwise 'pass' is the password itself.
- "V" - accept to load only signed packages. Loading of a package will fail if the signature cannot be verified.
- src
-
Type:
System.IOTextReader
Mosel code source - dest
-
Type:
System.IOStream
destination for compiled Mosel code - comm
-
Type:
SystemString
user comment that will be saved as is in the compiled Mosel file - pass
-
Type:
SystemString
password or password file (may be null) - privkey
-
Type:
SystemString
private key file (may be null) - pubkeys
-
Type:
SystemString
file of public keys (may be null)

© 2001-2021 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.