2019-12-06 23:12:34 +01:00
|
|
|
|
using System;
|
2019-12-08 12:34:43 +01:00
|
|
|
|
using System.Net;
|
2019-12-06 23:12:34 +01:00
|
|
|
|
|
|
|
|
|
namespace Unosquare.RaspberryIO.Computer {
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represents a Network Adapter.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class NetworkAdapterInfo {
|
2019-12-04 18:57:18 +01:00
|
|
|
|
/// <summary>
|
2019-12-06 23:12:34 +01:00
|
|
|
|
/// Gets the name.
|
2019-12-04 18:57:18 +01:00
|
|
|
|
/// </summary>
|
2019-12-08 12:34:43 +01:00
|
|
|
|
public String Name {
|
2019-12-06 23:12:34 +01:00
|
|
|
|
get; internal set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the IP V4 address.
|
|
|
|
|
/// </summary>
|
2019-12-08 12:34:43 +01:00
|
|
|
|
public IPAddress IPv4 {
|
2019-12-06 23:12:34 +01:00
|
|
|
|
get; internal set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the IP V6 address.
|
|
|
|
|
/// </summary>
|
2019-12-08 12:34:43 +01:00
|
|
|
|
public IPAddress IPv6 {
|
2019-12-06 23:12:34 +01:00
|
|
|
|
get; internal set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the name of the access point.
|
|
|
|
|
/// </summary>
|
2019-12-08 12:34:43 +01:00
|
|
|
|
public String AccessPointName {
|
2019-12-06 23:12:34 +01:00
|
|
|
|
get; internal set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the MAC (Physical) address.
|
|
|
|
|
/// </summary>
|
2019-12-08 12:34:43 +01:00
|
|
|
|
public String MacAddress {
|
2019-12-06 23:12:34 +01:00
|
|
|
|
get; internal set;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets a value indicating whether this instance is wireless.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Boolean IsWireless {
|
|
|
|
|
get; internal set;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-12-04 18:57:18 +01:00
|
|
|
|
}
|