• 大小: 0.05M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 地址  设置  工具  IP  

资源简介

网关、dns、掩码设置

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Management;
namespace IPSetting
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_AutoGetIP_Click(object sender EventArgs e)
        {
            setIPDHCP();
            this.Close();
        }

        private void button2_SetIP_Click(object sender EventArgs e)
        {
            setIPaddress(textBox1_IPAddress.Text);
            this.Close();
        }
        /// 
        /// 将IP,DNS设置为自动获取
        /// 


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     44032  2019-04-02 18:02  IPSetting\.vs\IPSetting\v14\.suo

     文件        184  2018-12-29 17:27  IPSetting\IPSetting\App.config

     文件      10752  2019-04-02 18:02  IPSetting\IPSetting\bin\Debug\IPSetting.exe

     文件        184  2018-12-29 17:27  IPSetting\IPSetting\bin\Debug\IPSetting.exe.config

     文件      22016  2019-04-02 18:02  IPSetting\IPSetting\bin\Debug\IPSetting.pdb

     文件      22688  2019-04-02 17:59  IPSetting\IPSetting\bin\Debug\IPSetting.vshost.exe

     文件        184  2018-12-29 17:27  IPSetting\IPSetting\bin\Debug\IPSetting.vshost.exe.config

     文件        490  2015-06-04 12:48  IPSetting\IPSetting\bin\Debug\IPSetting.vshost.exe.manifest

     文件       2968  2019-04-02 18:01  IPSetting\IPSetting\Form1.cs

     文件       5489  2019-04-02 18:01  IPSetting\IPSetting\Form1.Designer.cs

     文件       5817  2019-04-02 18:01  IPSetting\IPSetting\Form1.resx

     文件       4030  2018-12-29 17:27  IPSetting\IPSetting\IPSetting.csproj

     文件       1386  2018-12-29 17:27  IPSetting\IPSetting\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6904  2019-04-02 18:02  IPSetting\IPSetting\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       1337  2019-04-02 18:02  IPSetting\IPSetting\obj\Debug\IPSetting.csproj.FileListAbsolute.txt

     文件        976  2019-04-02 18:02  IPSetting\IPSetting\obj\Debug\IPSetting.csproj.GenerateResource.Cache

     文件       6899  2019-04-02 18:02  IPSetting\IPSetting\obj\Debug\IPSetting.csprojResolveAssemblyReference.cache

     文件      10752  2019-04-02 18:02  IPSetting\IPSetting\obj\Debug\IPSetting.exe

     文件        180  2019-04-02 18:02  IPSetting\IPSetting\obj\Debug\IPSetting.Form1.resources

     文件      22016  2019-04-02 18:02  IPSetting\IPSetting\obj\Debug\IPSetting.pdb

     文件        180  2018-12-29 17:36  IPSetting\IPSetting\obj\Debug\IPSetting.Properties.Resources.resources

     文件          0  2018-12-29 17:03  IPSetting\IPSetting\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2018-12-29 17:03  IPSetting\IPSetting\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2018-12-29 17:03  IPSetting\IPSetting\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件       3584  2019-04-02 17:59  IPSetting\IPSetting\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件        521  2018-12-29 17:03  IPSetting\IPSetting\Program.cs

     文件       1346  2018-12-29 17:03  IPSetting\IPSetting\Properties\AssemblyInfo.cs

     文件       2858  2018-12-29 17:27  IPSetting\IPSetting\Properties\Resources.Designer.cs

     文件       5612  2018-12-29 17:03  IPSetting\IPSetting\Properties\Resources.resx

     文件       1109  2018-12-29 17:27  IPSetting\IPSetting\Properties\Settings.Designer.cs

............此处省略16个文件信息

评论

共有 条评论