Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

BackgroundDownloader.ServerCredential Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?