using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
// Set your monitor profile name here
string profileName = "Monitor Profile Name";
// Gets the number of monitors and if it equals 2, loads the monitor profile
int numberOfMonitors = BFS.Monitor.GetMonitorCountEnabledAndDisabled();
if (numberOfMonitors == 2)
{
BFS.DisplayFusion.LoadMonitorProfile(profileName);
}
}
}