Esempio n. 1
0
 /* ----------------------------------------------------------------- */
 ///
 /// PortMonitor
 ///
 /// <summary>
 /// Initializes a new instance of the PortMonitor class.
 /// </summary>
 ///
 /* ----------------------------------------------------------------- */
 private PortMonitor(MonitorInfo2 core)
 {
     _core           = core;
     TargetDirectory = System.Environment.SpecialFolder.System.GetName();
     RetryCount      = 5;
 }
Esempio n. 2
0
 public static extern bool AddMonitor(
     string pName,
     uint Level,
     ref MonitorInfo2 pMonitors
     );