WebClient Properties

WebClient Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The WebClient type exposes the following members.

  NameDescription
Public property AllowReadStreamBuffering Gets or sets a value that indicates whether to buffer the data read from the Internet resource for a WebClient instance.
Public property AllowWriteStreamBuffering Gets or sets a value that indicates whether to buffer the data written to the Internet resource for a WebClient instance.
Public property BaseAddress Gets or sets the base URI for requests made by a WebClient.
Public property Credentials Gets or sets the network credentials that are sent to the host and used to authenticate the request.
Public property Encoding Gets and sets the Encoding used to upload and download strings.
Public property Headers Gets or sets a collection of header name/value pairs associated with the request.
Public property IsBusy Gets a value that indicates whether a Web request is in progress.
Public property ResponseHeaders Gets a collection of header name/value pairs associated with the response.
Public property UseDefaultCredentials Gets or sets a Boolean value that controls whether default credentials are sent with requests.
Top

Show:
© 2016 Microsoft