41 lines
902 B
C#
41 lines
902 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Data;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Tech_Demo
|
|
{
|
|
public partial class UCOverview : UserControl
|
|
{
|
|
public UCOverview()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void label1_Click(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void button3_Click(object sender, EventArgs e)
|
|
{
|
|
var ipNetTable = GetIPNetTable.Get_IPNetTable();
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
{
|
|
var ipInfo = ArpUtil.GetIpInfo();
|
|
foreach (var ip in ipInfo)
|
|
{
|
|
Console.WriteLine("{0} => {1}", ip[0], ip[1]);
|
|
}
|
|
}
|
|
}
|
|
}
|