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() | 현재 인스턴스를 소멸시킵니다. |
또 보기
- Class Component
- Namespace System::Net
- Library Aspose.Page for C++