Esempio n. 1
0
        public WCFScreenInformation[] GetDisplayInformation() //Não está a dar. Verificar os callbacks (sucatada)
        {
            List <WCFScreenInformation> res = new List <WCFScreenInformation>();

            foreach (var display in Screen.AllScreens)
            {
                res.Add(NetWCFConverter.ToWCFScreenInformation(display));
            }

            return(res.ToArray());
        }
Esempio n. 2
0
 public WCFScreenInformation GetPrimaryDisplay()
 {
     return(NetWCFConverter.ToWCFScreenInformation(Screen.PrimaryScreen));
 }