52 lines
1.0 KiB
C#
52 lines
1.0 KiB
C#
using System;
|
|
using System.Net;
|
|
|
|
namespace Unosquare.RaspberryIO.Computer {
|
|
/// <summary>
|
|
/// Represents a Network Adapter
|
|
/// </summary>
|
|
public class NetworkAdapterInfo {
|
|
/// <summary>
|
|
/// Gets the name.
|
|
/// </summary>
|
|
public String Name {
|
|
get; internal set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the IP V4 address.
|
|
/// </summary>
|
|
public IPAddress IPv4 {
|
|
get; internal set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the IP V6 address.
|
|
/// </summary>
|
|
public IPAddress IPv6 {
|
|
get; internal set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the name of the access point.
|
|
/// </summary>
|
|
public String AccessPointName {
|
|
get; internal set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the MAC (Physical) address.
|
|
/// </summary>
|
|
public String MacAddress {
|
|
get; internal set;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a value indicating whether this instance is wireless.
|
|
/// </summary>
|
|
public Boolean IsWireless {
|
|
get; internal set;
|
|
}
|
|
}
|
|
}
|