System::Net::WebClient classe
Contenu
[
Cacher
]WebClient class
WebClient provides common methods for sending and receiving data. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class WebClient : public System::ComponentModel::Component
Méthodes
| Méthode | Description |
|---|---|
| DownloadData(const String&) const | Télécharge la ressource spécifiée sous forme de tableau d’octets. |
| DownloadData(const SharedPtr<Uri>&) const | Télécharge la ressource spécifiée sous forme de tableau d’octets. |
| DownloadString(const String&) const | Télécharge la ressource spécifiée sous forme de chaîne. |
| DownloadString(const SharedPtr<Uri>&) const | Télécharge la ressource spécifiée sous forme de chaîne. |
| get_Encoding() const | Obtient l’encodage utilisé pour télécharger ou envoyer des chaînes. |
| set_Encoding(const SharedPtr<Text::Encoding>&) | Définit l’encodage utilisé pour télécharger ou envoyer des chaînes. |
| set_UseDefaultCredentials(bool) | NON IMPLEMENTÉ. |
| WebClient() | Informations RTTI. |
| ~WebClient() | Détruit l’instance actuelle. |
Voir aussi
- Class Component
- Namespace System::Net
- Library Aspose.Font for C++