using System;
using System.Drawing;
using System.Diagnostics;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
uint processID = BFS.Application.GetAppIDByWindow(windowHandle);
Process process = new Process();
process.StartInfo.FileName = "taskkill.exe";
process.StartInfo.Arguments = "/PID " + processID + " /f";
process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
process.StartInfo.CreateNoWindow = true;
process.Start();
}
}