• λ我爱Aspx >> Asp.Net >> 实现带有用户身份验证的文件传输Web Service(3) (转)
  • 实现带有用户身份验证的文件传输Web Service(3) (转)

  • :aspxer  Դ:internet  :2007-5-28 20:37:37  ؼ:web
  • {

    //CODEGEN: This call is required by the ASP.NET Web Services Designer

    InitializeComponent();

    rootdir=Server.MapPath("/caomo/提供传输的文件");

    }

    #region Component Designer generated code

    ///

    /// Required method for Designer support - do not modify

    /// the contents of this method with the code editor.

    ///

    private void InitializeComponent()

    {

    }

    #endregion

    ///

    /// Clean up any resources being used.

    ///

    protected override void Dispose( bool disposing )

    {

    }

    public Authentication header; //定义用户身份验证类变量header。

    [WebMethod(Description="need authentication!")]

    [System.Web.Services.Protocols.SoapHeader("header")]

    //用户身份验证的soap头

    public string GetFile(string filePath)

    Ҷƪл˵?
  • һƪ实现带有用户身份验证的文件传输Web Service(4) (转)
    һƪ实现带有用户身份验证的文件传输Web Service(2) (转)