84 xtd::
string user_name_;
network_credential()=default
Initializes a new instance of the xtd::net::network_credential class.
network_credential(const xtd::string &user_name, const xtd::security::secure_string &password, const xtd::string &domain)
Initializes a new instance of the xtd::net::network_credential class with the specified user name,...
network_credential(const xtd::string &user_name, const xtd::security::secure_string &password)
Initializes a new instance of the xtd::net::network_credential class with the specified user name and...
network_credential(const xtd::string &user_name, const xtd::string &password, const xtd::string &domain)
Initializes a new instance of the xtd::net::network_credential class with the specified user name,...
network_credential(const xtd::string &user_name, const xtd::string &password)
Initializes a new instance of the xtd::net::network_credential class with the specified user name and...
const xtd::string & user_name() const noexcept
Gets the user name associated with the credentials.
const xtd::string & domain() const noexcept
Gets the domain or computer name that verifies the credentials.
xtd::string password() const noexcept
Gets the password for the user name associated with the credentials.
const xtd::security::secure_string & secure_password() const noexcept
Gets the password as a xtd::security::secure_string instance.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:44
Represents text that should be kept confidential, such as by deleting it from computer memory when no...
Definition secure_string.hpp:22
Contains core_export_ keyword.
#define core_export_
Define shared library export.
Definition core_export.hpp:13
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
The xtd::net namespace provides a simple programming interface for many of the protocols used on netw...
Definition cookie_exception.hpp:10
Provides the underlying structure of the security system, including base classes for permissions.
Definition secure_string.hpp:11
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::object class.
Contains xtd::security::secure_string class.
Contains xtd::string alias.
Contains xtd fundamental types.