ProxyCredentialsFromXml Method

Create a proxy credentials instance from an XML element

Definition

Namespace: SandcastleBuilder.Utils.BuildComponent
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.2.18.0
public static ProxyCredentials FromXml(
	XElement configuration
)

Parameters

configuration  XElement
The XML element from which to obtain the settings

Return Value

ProxyCredentials
A ProxyCredentials object containing the settings from the XPath navigator

Remarks

It should contain an element called proxyCredentials with two attributes (useProxy and proxyServer) and a nested userCredentials element.

See Also