BackgroundDownloader.ServerCredential Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit les informations d’identification à utiliser pour l’authentification auprès du serveur d’origine.
Notes
Pour les téléchargements via FTP, les informations d’identification d’authentification doivent être fournies dans l’URI spécifié. Par exemple, 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
Valeur de propriété
Informations d’identification à utiliser pour l’authentification.
Implémente
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour