Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ScreenInfo.cs
1using System;
2
4{
8 public class ScreenInfo
9 {
10 private readonly string deviceName;
11 private readonly int bitsPerPixel;
12 private readonly int left;
13 private readonly int top;
14 private readonly int width;
15 private readonly int height;
16 private readonly bool primary;
17
28 public ScreenInfo(bool Primary, int BitsPerPixel, int Left, int Top, int Width, int Height, string DeviceName)
29 {
30 this.primary = Primary;
31 this.bitsPerPixel = BitsPerPixel;
32 this.left = Left;
33 this.top = Top;
34 this.width = Width;
35 this.height = Height;
36 this.deviceName = DeviceName;
37 }
38
42 public bool Primary => this.primary;
43
47 public int BitsPerPixel => this.bitsPerPixel;
48
52 public int Left => this.left;
53
57 public int Top => this.top;
58
62 public int Width => this.width;
63
67 public int Height => this.height;
68
72 public string DeviceName => this.deviceName;
73 }
74}
Information about a remote screen.
Definition: ScreenInfo.cs:9
string DeviceName
Name of device
Definition: ScreenInfo.cs:72
ScreenInfo(bool Primary, int BitsPerPixel, int Left, int Top, int Width, int Height, string DeviceName)
Information about a remote screen.
Definition: ScreenInfo.cs:28
bool Primary
If the screen is the primary screen.
Definition: ScreenInfo.cs:42