Skip to content

NodejsPlatform constructor

Initializes the Node.js platform.

C#
public NodejsPlatform(string libnodePath, string[]? args = null)
parameterdescription
libnodePathPath to the libnode shared library, including extension.
argsOptional platform arguments.

Exceptions

exceptioncondition
InvalidOperationExceptionA Node.js platform instance has already been loaded in the current process.

See Also

Released under the MIT license