Share this page

# ConfigureRemoting

.NET Vuser Functions

Specifies the configuration file for the remoting environment.

    void LrReplayUtils.ConfigureRemoting( string path [, bool ensureSecurity] );

path | The path to search for the configuration file.
ensureSecurity | Set to true to enable security. If the argument is not specified, the default is false.

ConfigureRemoting specifies the configuration file of the remoting environment for a .Net remoting script.

Note: Do not add this function manually to a script. It is generated by VuGen automatically.

The file is located as follows:
If a full path is passed, then look in the full path. Otherwise, search the script directory. If not found, search all paths used by the .Net Framework for configuring remoting.

## Parameterization

Parameterization is not applicable to this function.

## Example

This example shows setting the configuration file using a fully specified path name.

Copy code

    String filename_1;
    filename_1 =
        "V:\\aut\\.NET remoting\\us\\32\\" +
        "TypesStruct\\bin\\Debug\\TypesStruct." +
        "exe.config";
    LrReplayUtils.ConfigureRemoting(filename_1, false);

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: