MathLinkFactoryCreateKernelLink Method

Launches the default Wolfram Language kernel and returns a link to it.

Definition

Namespace: Wolfram.NETLink
Assembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
C#
public static IKernelLink CreateKernelLink()

Return Value

IKernelLink
The created link.

Remarks

Use this method if you want to launch the kernel. This is probably the most commonly-used method in this class.

It looks in the Windows registry for the location of the most recently-installed copy of Mathematica.

Exceptions

MathLinkExceptionIf the opening of the link fails.

See Also