Initializing help system before first use

LoadModel Method (String, String, String, String, String)

Load a compiled model into memory. This method loads a compiled model (Binary Model file) into memory. While loading a model from a file, Mosel also automatically opens any additional modules that are required by this model.

Namespace:   Mosel
Assembly:  xprmdn (in xprmdn.dll) Version: 0.0.0.0
Syntax
C#
public XPRMModel LoadModel(
	string name,
	string options,
	string pass,
	string privkey,
	string pubkeys
)

Parameters

name
Type:  SystemString
name of a binary model file
options
Type:  SystemString
loader options (may be null). Supported options include: item flagdescription>"c"check file signature (if the file is signed)"V"accept to load only signed file. Loading will fail if the signature cannot be verified."F"if this flag is set, the argument 'pass' is interpreted as a file containing the password. Otherwise 'pass' is the password itself.
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); this file contains a list of public key file names. If the file is signed and the signature has to be checked (options codes 'c' and 'V' in the options string above), verification will be performed against these public keys. The special public key file name "*" refers to all installed keys (these keys are used when no list is provided).

Return Value

Type:  XPRMModel
A new model instance of type XPRMModel created from a binary model file.
See Also

© 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.