public InputOptions SetWindowGeometry(WindowGeometry windowGeometry)
{
if (windowGeometry == null) throw new ArgumentNullException("windowGeometry");
if (windowGeometry.ShouldShowWindow && !Environment.UserInteractive)
throw new StatLightException("You cannot use the -b option as your C.I. server's agent process is not running in desktop interactive mode.");
WindowGeometry = windowGeometry;
return this;
}