using System;
using System.Drawing;
public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {
        // Set your monitor profile name here
        string profileName = "Remote Single ACER";
        
        // Gets the number of monitors and if it equals 2, loads the monitor profile    
        if (System.Windows.Forms.SystemInformation.TerminalServerSession)
        {
            BFS.DisplayFusion.LoadMonitorProfile(profileName);
        }
    }
}