34 lines
700 B
C#
34 lines
700 B
C#
// /**
|
|
// * File: Subnet.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;
|
|
namespace ln.skyscanner.entities
|
|
{
|
|
public class Subnet
|
|
{
|
|
public readonly CIDR Network;
|
|
public String Name;
|
|
|
|
public DateTime FirstSeen;
|
|
public DateTime LastScanned;
|
|
|
|
public Subnet()
|
|
{
|
|
FirstSeen = DateTime.Now;
|
|
}
|
|
|
|
public Subnet(CIDR cidr)
|
|
{
|
|
Network = cidr;
|
|
FirstSeen = DateTime.Now;
|
|
}
|
|
}
|
|
}
|