BackgroundDownloader.ServerCredential BackgroundDownloader.ServerCredential BackgroundDownloader.ServerCredential BackgroundDownloader.ServerCredential 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 : PasswordCredential ServerCredential { get; set; }
PasswordCredential ServerCredential();

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

Property Value

The credential to use for authentication.