System::Net::WebClient klasse
inhoud
[
verbergen
]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
Methoden
| Methode | Beschrijving |
|---|---|
| DownloadData(const String&) const | Downloadt de opgegeven bron als een byte‑array. |
| DownloadData(const SharedPtr<Uri>&) const | Downloadt de opgegeven bron als een byte‑array. |
| DownloadString(const String&) const | Downloadt de opgegeven bron als een string. |
| DownloadString(const SharedPtr<Uri>&) const | Downloadt de opgegeven bron als een string. |
| get_Encoding() const | Haalt de codering op die wordt gebruikt om strings te downloaden of uploaden. |
| set_Encoding(const SharedPtr<Text::Encoding>&) | Stelt de codering in die wordt gebruikt om strings te downloaden of uploaden. |
| set_UseDefaultCredentials(bool) | NOG NIET GEÏMPLENTEERD. |
| WebClient() | RTTI-informatie. |
| ~WebClient() | Vernietigt de huidige instantie. |
Zie ook
- Class Component
- Namespace System::Net
- Library Aspose.Page for C++