Execute DotNetToJscript.exe and supply it with the ExampleAssembly.dll, specify the output file and the output type:
#Sample DLL
#csc.exe /target:library thisfile.cs -o sample.dll
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace Prog
{
public class Popme
{
public void Box()
{
Process.Start("calc.exe");
System.Windows.Forms.MessageBox.Show("Hello");
}
}
}