System::Net::NetworkCredential class
Contents
[
Hide
]NetworkCredential class
Provides credentials for the password-based authentication schemes. 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 NetworkCredential : public System::Net::ICredentials,
public System::Net::ICredentialsByHost,
public virtual System::Object
Methods
Method | Description |
---|---|
get_Domain() | Gets the domain that verifies the credentials. |
get_Password() | Gets the password. |
get_UserName() | RTTI information. |
GetCredential(System::SharedPtr<Uri>, String) override | Returns credentials for the specified URI and authentication type. |
GetCredential(String, int32_t, String) override | Returns credentials for the specified host name, port, and authentication type. |
NetworkCredential() | Constructs a new instance. |
NetworkCredential(String, String) | Constructs a new instance. |
NetworkCredential(String, String, String) | Constructs a new instance. |
set_Domain(String) | Sets the domain that verifies the credentials. |
set_Password(String) | Sets the password. |
set_UserName(String) | Sets the username. |
See Also
- Class ICredentials
- Class ICredentialsByHost
- Class Object
- Namespace System::Net
- Library Aspose.PDF for C++