Exemple #1
0
 internal TrackerInfo(TrackerInfoInterop trackerInfoInterop)
 {
     Type         = trackerInfoInterop.Type;
     Capabilities = trackerInfoInterop.Capabilities;
     DisplayRectInOSCoordinates = trackerInfoInterop.DisplayRectInOSCoordinates;
     DisplaySizeMm   = trackerInfoInterop.DisplaySizeMm;
     Url             = trackerInfoInterop.Url.ToAnsiString();
     FriendlyName    = trackerInfoInterop.FriendlyName.ToAnsiString();
     MonitorNameInOS = trackerInfoInterop.MonitorNameInOS.ToAnsiString();
     ModelName       = trackerInfoInterop.ModelName.ToAnsiString();
     Generation      = trackerInfoInterop.Generation.ToAnsiString();
     SerialNumber    = trackerInfoInterop.SerialNumber.ToAnsiString();
     FirmwareVersion = trackerInfoInterop.FirmwareVersion.ToAnsiString();
     IsAttached      = trackerInfoInterop.IsAttached;
 }
Exemple #2
0
 internal static extern bool GetTrackerInfoByUrl([MarshalAs(UnmanagedType.LPStr)] string trackerUrl, out TrackerInfoInterop trackerInfoInterop);
Exemple #3
0
 internal static extern bool GetTrackerInfo(out TrackerInfoInterop trackerInfoInterop);
Exemple #4
0
 internal static TrackerInfo Create(TrackerInfoInterop trackerInfoInterop)
 {
     return(new TrackerInfo(trackerInfoInterop));
 }