0% found this document useful (0 votes)
75 views1 page

Installation Guide: Dotnetrunner

The installation guide describes how to adjust the path of the CodeBase entries in the dotNETRunner_Register.reg file to the location of the dotNETRunner DLL files. It then explains that running this file will write the necessary registry entries without admin rights in the HKCU hive of the current user. Running dotNETRunner_Unregister.reg can delete these registry entries. The user guide provides an overview of the dotNETRunner class which allows executing C#, VB.NET, JScript or PowerShell code. It describes the run, run_str, AddAssembly, ClearAssemblies, CompCode, runPS, and runPS_str methods and their parameters.

Uploaded by

Alessandra Recla
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views1 page

Installation Guide: Dotnetrunner

The installation guide describes how to adjust the path of the CodeBase entries in the dotNETRunner_Register.reg file to the location of the dotNETRunner DLL files. It then explains that running this file will write the necessary registry entries without admin rights in the HKCU hive of the current user. Running dotNETRunner_Unregister.reg can delete these registry entries. The user guide provides an overview of the dotNETRunner class which allows executing C#, VB.NET, JScript or PowerShell code. It describes the run, run_str, AddAssembly, ClearAssemblies, CompCode, runPS, and runPS_str methods and their parameters.

Uploaded by

Alessandra Recla
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Installation Guide

Adjust in the file dotNETRunner_Register.reg the path of the CodeBase entries to the path where
dotNETRunner_x64.dll and dotNETRunner_x86.dll are stored. After that it is necessary to execute the file
dotNETRunner_Register.reg, this writes the necessary entries in the Windows registry. You need no administration
rights to write the entries. All entries are stored in HKCU hive of the current user.
With the execution of the file dotNETRunner_Unregister.reg it is possible to delete all the written registry entries of
dotNETRunner.

User Guide
dotNETRunner
This class offers the possibility to execute C#, VB.NET, Jscript or PowerShell code.

• Method run: Type object, executes a method with parameters.


o Instance: Type string, name of the instance to create.
o Method: Type string, name of the method of the instance to execute.
o Parameters: Type string, optional, default is an empty string.
o Separator: Type string, optional, default is a comma.

• Method run_str: Type string, executes a method with parameters.


It is a wrapper for the method run but the result is converted to string.
Hint: This is the method for the ABAP call.
o Instance: Type string, name of the instance to create.
o Method: Type string, name of the method of the instance to execute.
o Parameters: Type string, optional, default is an empty string.
o Separator: Type string, optional, default is a comma.

• Property AddAssembly: Type String, name of an assembly to add,


e.g. System.Windows.Forms.dll

• Method ClearAssemblies, Type void, clears added assemblies

• Method CompCode: Type string, compiles the source code.


Hint: It is necessary to call this method before you call a run method.
o Language: Type string, CS for C#, VB for VB.NET or JS for JScript are allowed.
o Code: Type string, the C#, VB.NET or JScript code.
o IncludeDebugInformation: Type bool, generate debug information, optional, default is true
o WarningLevel: Type int, level at which the compiler starts displaying warnings, optional, default is 3

• Method runPS: Type Collection of PSObject, executes PowerShell code.


o Code: Type string, the PowerShell code.
o Parameters: Type string, optional, default is an empty string.
o Separator: Type string, optional, default is a comma.

• Method runPS_str: Type string, executes PowerShell code.


It is a wrapper for the method runPS but the result is converted to string.
o Code: Type string, the PowerShell code.
o Parameters: Type string, optional, default is an empty string.
o Separator: Type string, optional, default is a comma.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy