Share via


BackgroundDownloader.ServerCredential Property

Definition

Gets or sets the credentials to use to authenticate with the origin server.

Note

For downloads via FTP, authentication credentials must be provided within the specified URI. For example, ftp://user:password@server/file.txt.

public:
 property PasswordCredential ^ ServerCredential { PasswordCredential ^ get(); void set(PasswordCredential ^ value); };
PasswordCredential ServerCredential();

void ServerCredential(PasswordCredential credential);
public PasswordCredential ServerCredential { get; set; }
var passwordCredential = backgroundDownloader.serverCredential;
backgroundDownloader.serverCredential = passwordCredential;
Public Property ServerCredential As PasswordCredential

Property Value

The credential to use for authentication.

Implements

Applies to