GetResource Method
Fetches a resource.
Syntax
[VB.NET] Public Sub GetResource(ByVal URL As String)
[C#] public void GetResource(string URL);
Remarks
This method fetches the resource. If LocalFile is set, the document will be saved in the file specified. Otherwise, the document contents are delivered in the AtomData property, as well as through the Transfer event, and the HTTP response headers through the Header event.
Unlike the GetFeed method, after retrieval, the component will not attempt to parse the data into the Channel and Entries properties.
NOTE: This method has a corresponding asynchronous version (GetResourceAsync) for use in the WinRT environment.