System::Net::WebClient क्लास

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

विधियाँ

विधिविवरण
DownloadData(const String&) constनिर्दिष्ट संसाधन को बाइट एरे के रूप में डाउनलोड करता है।
DownloadData(const SharedPtr<Uri>&) constनिर्दिष्ट संसाधन को बाइट एरे के रूप में डाउनलोड करता है।
DownloadString(const String&) constनिर्दिष्ट संसाधन को स्ट्रिंग के रूप में डाउनलोड करता है।
DownloadString(const SharedPtr<Uri>&) constनिर्दिष्ट संसाधन को स्ट्रिंग के रूप में डाउनलोड करता है।
get_Encoding() constस्ट्रिंग्स को डाउनलोड या अपलोड करने के लिए उपयोग किए जाने वाले एन्कोडिंग को प्राप्त करता है।
set_Encoding(const SharedPtr<Text::Encoding>&)स्ट्रिंग्स को डाउनलोड या अपलोड करने के लिए उपयोग किए जाने वाले एन्कोडिंग को सेट करता है।
set_UseDefaultCredentials(bool)लागू नहीं किया गया।
WebClient()RTTI जानकारी।
~WebClient()वर्तमान इंस्टेंस को नष्ट करता है।

संबंधित देखें