Exemple #1
0
 public DeviceInfo(DeviceType type)
 {
     m_device_id     = new DeviceID(-1, string.Empty);
     this.type       = type;
     ipAddress       = "0.0.0.0";
     username        = password = string.Empty;
     deleted         = false;
     collectors      = CollectorInfo.FromCollectorTypes(type.GetCollectors());
     driveNames      = new Dictionary <string, string>();
     monitoredDrives = new MonitoredDriveManager();
     groupID         = -1;
 }