资源简介
轻松GET、玩转POST、HTML分析、无视编码、验证码提取、Cookie分析互转、Url格式化、加密、代理IP、证书、Json数据分析、执行JavaScript VS2015编译通过,仅限于大家学习交流使用,请大家于24小时之内删除,谢谢,本人概不负责因此学习交流24小时删除包引发的各种问题。
代码片段和文件信息
using CsharpHttpHelper.baseBll;
using CsharpHttpHelper.Helper;
using CsharpHttpHelper.Item;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Drawing;
using System.Net;
using System.Text;
namespace CsharpHttpHelper
{
public class HttpHelper
{
private HttpHelperBll bll = new HttpHelperBll();
public HttpResult GetHtml(HttpItem item)
{
return this.bll.GetHtml(item);
}
public Image GetImage(HttpItem item)
{
return this.bll.GetImage(item);
}
public HttpResult FastRequest(HttpItem item)
{
return this.bll.FastRequest(item);
}
public static string GetSmallCookie(string strcookie)
{
return HttpCookieHelper.GetSmallCookie(strcookie);
}
public static CookieCollection StrCookieToCookieCollection(string strcookie)
{
return HttpCookieHelper.StrCookieToCookieCollection(strcookie);
}
public static string CookieCollectionToStrCookie(CookieCollection cookie)
{
return HttpCookieHelper.CookieCollectionToStrCookie(cookie);
}
public static string URLDecode(string text Encoding encoding = null)
{
return HttpUrlHelper.URLDecode(text encoding);
}
public static string URLEncode(string text Encoding encoding = null)
{
return HttpUrlHelper.URLEncode(text encoding);
}
public static NameValueCollection GetNameValueCollection(string str)
{
return HttpUrlHelper.GetNameValueCollection(str);
}
public static string GetUrlHost(string url)
{
return HttpUrlHelper.GetUrlHost(url);
}
public static string GetUrlIp(string url)
{
return HttpUrlHelper.GetUrlIp(url);
}
public static string ToMD5(string str)
{
return MD5Helper.ToMD5_32(str);
}
public static string ToSHA1(string str)
{
return MD5Helper.ToSHA1(str);
}
public static object JsonToobject(string jsonstr)
{
return Jsonhelper.JsonToobject(jsonstr);
}
public static string objectToJson(object obj)
{
return Jsonhelper.objectToJson(obj);
}
public static List GetAList(string html)
{
return HtmlHelper.GetAList(html);
}
public static List GetImgList(string html)
{
return HtmlHelper.GetImgList(html);
}
public static string StripHTML(string html)
{
return HtmlHelper.StripHTML(html);
}
public static string ReplaceNewLine(string html)
{
return HtmlHelper.ReplaceNewLine(html);
}
public static string GetBetweenHtml(string html string s string e)
{
return HtmlHelper.GetBetweenHtml(html s e);
}
public static string GetHtmltitle(string html)
{
return HtmlHelper.GetHtmltitle(html);
}
public static string javascriptEval(string strJs string main)
{
return ExecJsHelper.javascriptEval(strJs main);
}
public static Image GetImage(byte[] b)
{
return ImageHelper.ByteToImage(b);
}
public static string ByteToString(by
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4608 2016-12-08 11:29 HttpHelper V1.9\.vs\HttpHelper\v14\.suo
文件 3615 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper\HttpHelper.cs
文件 5375 2016-12-08 11:41 HttpHelper V1.9\CsharpHttpHelper\HttpItem.cs
文件 1354 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper\HttpResult.cs
文件 11264 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.ba
文件 1335 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.ba
文件 100 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Enum\AType.cs
文件 123 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Enum\PostDataType.cs
文件 126 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Enum\ResultCookieType.cs
文件 108 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Enum\ResultType.cs
文件 570 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\ba
文件 445 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\EncodingHelper.cs
文件 1012 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\ExecJsHelper.cs
文件 3313 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\HtmlHelper.cs
文件 2566 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\HttpCookieHelper.cs
文件 1947 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\HttpUrlHelper.cs
文件 386 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\ImageHelper.cs
文件 762 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\Json
文件 581 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Helper\MD5Helper.cs
文件 372 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Item\AItem.cs
文件 188 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Item\ImgItem.cs
文件 942 2016-05-16 16:19 HttpHelper V1.9\CsharpHttpHelper.Static\RegexString.cs
文件 3026 2016-05-16 16:25 HttpHelper V1.9\HttpHelper.csproj
文件 6285 2016-12-08 11:28 HttpHelper V1.9\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 258 2016-05-16 16:25 HttpHelper V1.9\obj\Debug\HttpHelper.csproj.FileListAbsolute.txt
文件 1448 2016-05-16 16:23 HttpHelper V1.9\obj\Debug\HttpHelper.csprojResolveAssemblyReference.cache
文件 31232 2016-05-16 16:25 HttpHelper V1.9\obj\Debug\HttpHelper.dll
文件 95744 2016-05-16 16:25 HttpHelper V1.9\obj\Debug\HttpHelper.pdb
文件 6187 2016-05-16 16:26 HttpHelper V1.9\obj\Release\DesignTimeResolveAssemblyReferencesInput.cache
文件 188 2016-05-16 16:26 HttpHelper V1.9\obj\Release\HttpHelper.csproj.FileListAbsolute.txt
............此处省略25个文件信息
评论
共有 条评论