39 lines
1020 B
C#
39 lines
1020 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Net.NetworkInformation;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace xCommons.Models {
|
|
public class XNetworkInfo {
|
|
/// <summary>
|
|
/// Network Name ...
|
|
/// </summary>
|
|
/// <value></value>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Network Description ...
|
|
/// </summary>
|
|
/// <value></value>
|
|
public string Description { get; set; }
|
|
|
|
/// <summary>
|
|
/// IP Address which Exists on Current Network ...
|
|
/// </summary>
|
|
/// <value></value>
|
|
public string IP { get; set; }
|
|
|
|
/// <summary>
|
|
/// Current Networks Gateway Address ...
|
|
/// </summary>
|
|
/// <value></value>
|
|
public string Gateway { get; set; }
|
|
|
|
/// <summary>
|
|
/// Network Interface Object ...
|
|
/// </summary>
|
|
/// <value></value>
|
|
public NetworkInterface NetworkInterface { get; set; }
|
|
}
|
|
} |