• 大小: 0.07M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-24
  • 语言: C#
  • 标签: IP  代理  代理ip  

资源简介

代理IP检测程序

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.IO;

namespace MyProxy
{
    public partial class Form1 : Form
    {
        public HttpWebRequest req;
        public HttpWebResponse res;
        public WebProxy proxy;
        public Stream s;
        public StreamReader r; 

        public Form1()
        {
            InitializeComponent();
        }

        HttpHelper httpHelper = new HttpHelper();

        private void button1_Click(object sender EventArgs e)
        {
            try
            {

            string ip = txtIP.Text.Trim();
            string point = txtPoint.Text.Trim();
            httpHelper.Proxy = new WebProxy(ip + “:“ + point true);
            httpHelper.ResponseEncoding = “utf-8“;
            string txtresult = httpHelper.GetString(“http://www.ip.cn/“);

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

     文件      24576  2015-04-23 19:05  MyProxy\MyProxy\bin\Debug\MyProxy.exe

     文件      65024  2015-04-23 19:05  MyProxy\MyProxy\bin\Debug\MyProxy.pdb

     文件      11600  2015-04-27 17:04  MyProxy\MyProxy\bin\Debug\MyProxy.vshost.exe

     文件        490  2010-03-17 22:39  MyProxy\MyProxy\bin\Debug\MyProxy.vshost.exe.manifest

     文件       2045  2015-04-23 19:05  MyProxy\MyProxy\Form1.cs

     文件       3575  2015-04-23 11:51  MyProxy\MyProxy\Form1.Designer.cs

     文件       5817  2015-04-23 11:51  MyProxy\MyProxy\Form1.resx

     文件      36585  2015-04-23 18:48  MyProxy\MyProxy\HttpHelper.cs

     文件       3714  2015-04-23 18:48  MyProxy\MyProxy\MyProxy.csproj

     文件       4440  2015-04-23 18:19  MyProxy\MyProxy\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6196  2015-04-23 19:05  MyProxy\MyProxy\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        216  2015-04-23 18:57  MyProxy\MyProxy\obj\x86\Debug\GenerateResource.read.1.tlog

     文件        530  2015-04-23 18:57  MyProxy\MyProxy\obj\x86\Debug\GenerateResource.write.1.tlog

     文件        625  2015-04-27 17:04  MyProxy\MyProxy\obj\x86\Debug\MyProxy.csproj.FileListAbsolute.txt

     文件      24576  2015-04-23 19:05  MyProxy\MyProxy\obj\x86\Debug\MyProxy.exe

     文件        180  2015-04-23 18:57  MyProxy\MyProxy\obj\x86\Debug\MyProxy.Form1.resources

     文件      65024  2015-04-23 19:05  MyProxy\MyProxy\obj\x86\Debug\MyProxy.pdb

     文件        180  2015-04-23 18:57  MyProxy\MyProxy\obj\x86\Debug\MyProxy.Properties.Resources.resources

     文件        488  2015-04-23 11:15  MyProxy\MyProxy\Program.cs

     文件       1366  2015-04-23 11:15  MyProxy\MyProxy\Properties\AssemblyInfo.cs

     文件       2865  2015-04-23 11:15  MyProxy\MyProxy\Properties\Resources.Designer.cs

     文件       5612  2015-04-23 11:15  MyProxy\MyProxy\Properties\Resources.resx

     文件       1093  2015-04-23 11:15  MyProxy\MyProxy\Properties\Settings.Designer.cs

     文件        249  2015-04-23 11:15  MyProxy\MyProxy\Properties\Settings.settings

     文件        863  2015-04-23 11:15  MyProxy\MyProxy.sln

    ..A..H.     19456  2015-04-27 17:51  MyProxy\MyProxy.suo

     目录          0  2015-04-23 11:15  MyProxy\MyProxy\obj\x86\Debug\TempPE

     目录          0  2015-04-23 19:05  MyProxy\MyProxy\obj\x86\Debug

     目录          0  2015-04-23 18:57  MyProxy\MyProxy\bin\Debug

     目录          0  2015-04-23 11:15  MyProxy\MyProxy\obj\x86

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

评论

共有 条评论