WebDAV .NET Class Library
WebDAV .NET Class Library
WebDAV .NET
Independentsoft.Webdav
Resource Class
Resource Methods
DownloadFile Method
DownloadFile Method (String, Stream)
DownloadFile Method (String, String)
DownloadFile Method (String, Stream, Int32)
DownloadFile Method (String, String, Int32)

# Resource DownloadFile Method (String, Stream, Int32)

Downloads data from a resource with the specified URI (address) to a stream.

Namespace: Independentsoft.Webdav
Assembly: Independentsoft.Webdav (in Independentsoft.Webdav.dll) Version: 1.0.700.18437
Syntax
C#
VB
Copy

    public FileDownload DownloadFile(
    	string address,
    	Stream output,
    	int bufferSize
    )

    Public Function DownloadFile (
    	address As String,
    	output As Stream,
    	bufferSize As Integer
    ) As FileDownload

#### Parameters

address
  Type: System
  String
  The URI that identifies the resource.
output
  Type: System.IO
  Stream
  The output stream to receive the data.
bufferSize
  Type: System
  Int32
  The buffer size. Default value is 8192 bytes.

#### Return Value

Type: FileDownload
See Also

#### Reference

Resource Class
DownloadFile Overload
Independentsoft.Webdav Namespace

Copyright 2022 Independentsoft

Send comments on this topic to support@independentsoft.de