- 博客(9)
- 收藏
- 关注
原创 ASP.NET POST方式提交数据!
string url = "网址"; HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url); string s = "要提交的数据"; byte[] requestBytes = System.Text.Encoding.ASCII.GetBytes (LoginInfo); req.Method = "POS
2004-11-14 22:29:00 2660 2
原创 ASP.NET GET 方式提交数据!
private string RequestGet(string TheURL, string TheProxy) { Uri uri = new Uri(TheURL); HttpWebRequest request = (HttpWebRequest) WebRequest.Create(uri); string page; try { request.Kee
2004-11-14 22:28:00 1013
原创 AssemblyInfo.cs文件的作用。
AssemblyInfo.cs主要用来设定生成的有关程序集的常规信息dll文件的一些参数请看以下具体说明://备注: [assembly:AssemblyDescription("用最强的抢劫类写成!")]//产品名称[assembly:AssemblyProduct("无为搜索")]//公司[assembly:AssemblyCompany("无为网络")]//合法商标[assembly:As
2004-11-11 10:12:00 1474 1
转载 利用C#显示MP3的标签信息
using System;using System.IO;namespace mp3infons{ class MP3Info { struct MP3InfoStruct { public string MP3Flag; public string Title; public string Singer; public string Album; public str
2004-11-08 14:31:00 831
转载 用C#编写获取远程IP,MAC的方法
如果要想获得远程的地址,需要用sendarp这个函数来实现。具体的代码如下:[DllImport("Iphlpapi.dll")]private static unsafe extern int SendARP(Int32 dest,Int32 host,ref IntPtr mac,ref IntPtr length);[DllImport("Ws2_32.dll")]pr
2004-11-08 14:14:00 1001
转载 一个操作注册表的类
using System;using Microsoft.Win32;namespace PowerComponent{ /// /// 操作注册表 /// public class Register { /// /// 实例构造函数 /// public Register() { // // TODO: 在此处添加构造函数逻辑 // } #reg
2004-11-08 14:10:00 1077
转载 C#如何取硬件标志
using System;using System.Runtime.InteropServices;using System.Management;namespace Hardware{/// /// Hardware_Mac 的摘要说明。/// public class HardwareInfo{ //取机器名 public string GetHostName() { retur
2004-11-08 14:09:00 732
转载 Screen Scraping, ViewState, and Authentication using ASP.Net
Before web services came along, screen scraping was a popular technique for grabbing the output from another application by examining the text it displays on the screen. For web applications, this m
2004-11-08 11:47:00 1046
原创 将ASP的Debug变得简单的两个函数!
--------------------------------------------------------------------------- 程序作用:打印request.form输入的所有值---------------------------------------------------------------------------Res
2004-11-08 11:36:00 797
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人