Class XmlRpcClientNetworkElement
Represents the the network element in the XML-RPC XmlRpcClientSection. This class cannot be inheritied.
Inheritance
Inherited Members
Namespace: Argotic.Configuration
Assembly: Argotic.Core.dll
Syntax
public sealed class XmlRpcClientNetworkElement : ConfigurationElement
Constructors
| Improve this Doc View SourceXmlRpcClientNetworkElement()
Initializes a new instance of the XmlRpcClientNetworkElement class.
Declaration
public XmlRpcClientNetworkElement()
Properties
| Improve this Doc View SourceCredential
Returns a System.Net.NetworkCredential for the configured user name, password, and domain.
Declaration
public NetworkCredential Credential { get; }
Property Value
Type | Description |
---|---|
System.Net.NetworkCredential | A System.Net.NetworkCredential object initialized using the curent UserName, Password, and Domain. |
Remarks
If UserName is a null or empty string, returns a null reference.
DefaultCredentials
Gets or sets a System.Boolean value that controls whether the System.Net.CredentialCache.DefaultCredentials are sent with requests.
Declaration
[ConfigurationProperty("defaultCredentials", DefaultValue = false, Options = ConfigurationPropertyOptions.None)]
[TypeConverter(typeof(bool))]
public bool DefaultCredentials { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true indicates that default user credentials will be used to access the XML-RPC server; otherwise, false. |
Domain
Gets or sets the domain or computer name that verifies the network credentials.
Declaration
[ConfigurationProperty("domain", DefaultValue = "", Options = ConfigurationPropertyOptions.None)]
public string Domain { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that represents the domain or computer name that verifies the network credentials. |
See Also
Host
Gets or sets the location of the host computer that client remote procedure calls will be sent to.
Declaration
[ConfigurationProperty("host", DefaultValue = null, Options = ConfigurationPropertyOptions.None)]
[TypeConverter(typeof(Uri))]
public Uri Host { get; set; }
Property Value
Type | Description |
---|---|
System.Uri | A System.Uri that represents the URL of the host computer used for XML-RPC transactions. |
Password
Gets or sets the user password to use to connect to an XML-RPC server.
Declaration
[ConfigurationProperty("password", DefaultValue = "", Options = ConfigurationPropertyOptions.None)]
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that represents the password to use to connect to an XML-RPC server. |
See Also
Properties
Gets the configuration properties for this element.
Declaration
protected override ConfigurationPropertyCollection Properties { get; }
Property Value
Type | Description |
---|---|
System.Configuration.ConfigurationPropertyCollection | A System.Configuration.ConfigurationPropertyCollection object that represents the configuration properties for this element. |
Overrides
UserName
Gets or sets the user name to connect to an XML-RPC server.
Declaration
[ConfigurationProperty("userName", DefaultValue = "", Options = ConfigurationPropertyOptions.None)]
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that represents the user name to connect to an XML-RPC server. |