コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #4
0
 public PublicRecord(DhcpRecord dhcp) : this(dhcp.mac, dhcp.name, dhcp.date, dhcp.date, dhcp.date)
 {
 }