IInternalWebClient Interface

Summary

Defines the interface for object that proxy WebClient calls.
Namespace
NBuildKit.MsBuild.Tasks.Web
Interfaces
  • IDisposable
graph TD Interface0["IDisposable"]-.->Type Type["IInternalWebClient"] class Type type-node

Syntax

public interface IInternalWebClient : IDisposable

Properties

Name Value Summary
Credentials ICredentials
Gets or sets the network credentials that are sent to the host and used to authenticate the request.

Methods

Name Value Summary
DeleteFile(Uri) byte[]
Deletes the specific file from the remote file server.
DownloadFile(Uri, string) void
Downloads the resource with the specified URI to a local file.
UploadFile(Uri, string, string) byte[]
Uploads the specified local file to a resource with the specified URI.