WebDownload Class

MSBuild

Downloads a resource with the specified URI to a local file.


Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Class WebDownload
    Inherits Task
C#
public class WebDownload : Task
C++
ref class WebDownload : Task
J#
public class WebDownload extends Task
JScript
public class WebDownload extends Task

Example

Download the Microsoft.com home page.

 Copy Code
            <WebDownload FileUri="http://www.microsoft.com/default.aspx" 
                FileName="microsoft.html" />
            

Inheritance Hierarchy

System.Object
   Microsoft.Build.Utilities.Task
      MSBuild.Community.Tasks.WebDownload

Thread Safety

Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.