Skip to content

NodeEmbeddingPlatform constructor

Initializes the Node.js platform.

C#
public NodeEmbeddingPlatform(NodeEmbeddingPlatformSettings? settings)
parameterdescription
libnodePathPath to the libnode shared library, including extension.
settingsOptional platform settings.

Exceptions

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

See Also

Released under the MIT license