Esempio n. 1
0
 public UidRecord(DhcpRecord dhcp, string _logon, int _duration)
 {
     duration = _duration;
     date     = dhcp.date;
     ip       = dhcp.ip;
     logon    = @"aha-net\" + _logon;
     key      = string.Format("{0}-{1}", ip, logon);
     source   = "DHCP";
     note     = dhcp.name;
 }
Esempio n. 2
0
 public UidRecord(IasRecord ias, DhcpRecord dhcp, int _duration)
 {
     duration = _duration;
     date     = ias.date;
     ip       = dhcp.ip;
     logon    = ias.logon;
     key      = string.Format("{0}-{1}", ip, logon);
     source   = "IAS";
     note     = ias.ap;
 }
Esempio n. 3
0
 public UidRecord(DhcpRecord dhcp, IasRecord ias, int _duration)
 {
     duration = _duration;
     date     = dhcp.date;
     ip       = dhcp.ip;
     logon    = ias.logon;
     key      = string.Format("{0}-{1}", ip, logon);
     source   = "dhcp";
     note     = dhcp.name;
 }
Esempio n. 4
0
 public PublicRecord(DhcpRecord dhcp) : this(dhcp.mac, dhcp.name, dhcp.date, dhcp.date, dhcp.date)
 {
 }