38 lines
820 B
C#
38 lines
820 B
C#
// /**
|
|
// * File: IPNode.cs
|
|
// * Author: haraldwolff
|
|
// *
|
|
// * This file and it's content is copyrighted by the Author and / or copyright holder.
|
|
// * Any use wihtout proper permission is illegal and may lead to legal actions.
|
|
// *
|
|
// *
|
|
// **/
|
|
using System;
|
|
using ln.types;
|
|
using System.Collections.Generic;
|
|
namespace ln.skyscanner.entities
|
|
{
|
|
public class Node
|
|
{
|
|
public CIDR PrimaryIP;
|
|
public String Name;
|
|
|
|
public List<NetworkInterface> NetworkInterfaces = new List<NetworkInterface>();
|
|
|
|
public DateTime FirstSeen;
|
|
public DateTime LastSeen;
|
|
|
|
public Node()
|
|
{
|
|
FirstSeen = DateTime.Now;
|
|
}
|
|
|
|
public Node(CIDR primaryIP)
|
|
{
|
|
PrimaryIP = primaryIP;
|
|
FirstSeen = DateTime.Now;
|
|
}
|
|
|
|
}
|
|
}
|