UtilWebDownloadWebpageAsXml(Uri, Encoding) 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,
Encoding enc
)
Public Shared Function DownloadWebpageAsXml (
uri As Uri,
enc As Encoding
) As XDocument
Dim uri As Uri
Dim enc As Encoding
Dim returnValue As XDocument
returnValue = UtilWeb.DownloadWebpageAsXml(uri,
enc)
public:
static XDocument^ DownloadWebpageAsXml(
Uri^ uri,
Encoding^ enc
)
static member DownloadWebpageAsXml :
uri : Uri *
enc : Encoding -> XDocument
No code example is currently available or this language may not be supported.
- uri Uri
-
The Uri address.
- enc Encoding
-
The Encoding used to read the webpage.
XDocument
The resulting source-code.
This is a code example.
No code example is currently available or this language may not be supported.
Dim xml As XDocument = DownloadWebpageAsXml(New Uri("http://www.elhacker.net/"), Encoding.UTF8)
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.