UtilWebDownloadWebpageAsXml(Uri, WebProxy) Method
Downloads the source-code of an Url that points to an Html document, then transforms it to Xml.
Namespace: DevCase.Core.Networking.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static XDocument DownloadWebpageAsXml(
Uri uri,
WebProxy proxy
)
Public Shared Function DownloadWebpageAsXml (
uri As Uri,
proxy As WebProxy
) As XDocument
Dim uri As Uri
Dim proxy As WebProxy
Dim returnValue As XDocument
returnValue = UtilWeb.DownloadWebpageAsXml(uri,
proxy)
public:
static XDocument^ DownloadWebpageAsXml(
Uri^ uri,
WebProxy^ proxy
)
static member DownloadWebpageAsXml :
uri : Uri *
proxy : WebProxy -> XDocument
No code example is currently available or this language may not be supported.
- uri Uri
-
The Uri address.
- proxy WebProxy
-
The proxy to use.
XDocument
The resulting source-code.
This is a code example.
No code example is currently available or this language may not be supported.
Dim proxy As New WebProxy(Host:="myproxy address", Port:=800)
proxy.Credentials = New NetworkCredential("user", "pass")
Dim xml As XDocument = DownloadWebpageAsXml(New Uri("http://www.elhacker.net/"), proxy)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.