|
在WinForm中通过HTTP协议向服务器端上传文件(9) public class wwHttp { /// <summary> /// Fires progress events when using GetUrlEvents() to retrieve a URL. /// </summary> public event OnReceiveDataHandler OnReceiveData; /// <summary> /// Determines how data is POSTed when cPostBuffer is set. /// 1 - UrlEncoded /// 2 - Multi-Part form vars /// 4 - XML (raw buffer content type: text/XML) /// </summary> public int PostMode { get { return this.nPostMode; } set { this.nPostMode = value; } } /// <summary> /// User name used for Authentication. /// To use the currently logged in user when Accessing an NTLM resource you can use "AUTOLOGIN". /// </summary> public string Username { get { return this.cUsername; } set { cUsername = value; } } /// <summary> /// PassWord for Authentication. /// </summary> public string PassWord { get {return this.cPassWord;} set {this.cPassWord = value;}
|