WebCrawler
This code sample is named WebCrawler. It demonstrates how to use managed code to write a C# Windows Mobile application. The application counts the links on a web site, and also counts all of the links that branch from the web site. When done, WebCrawler displays a listing of the results.
Feature Area
Relevant APIs
- System.Collections Namespace
- System.Diagnostics Namespace
- System.IO Namespace
- System.Net Namespace
- System.Text.RegularExpressions Namespace
- System.Threading Namespace
- System.Windows.Forms Namespace
Usage
To run the code sample
Navigate to the solution file (*.sln), and double-click it. By default, the solution files are copied to the following folders:
C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\Cs\Webcrawler\WebCrawler.sln
C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Samples\Cs\Webcrawler\WebCrawler.sln
Microsoft Visual Studio 2005 launches and loads the solution.
Build the solution (Ctrl+Shift+B).
Deploy the solution (F5).
Remarks
The mobile device and/or emulator has access to the Internet.
This code example application does not make use of the WindowsMobile namespace (or any of its child namespaces).
Requirements
Pocket PC SDK: Windows Mobile 5.0 Pocket PC SDK.
Smartphone SDK: Windows Mobile 5.0 Smartphone SDK.
Development Environment: Visual Studio 2005.
ActiveSync: Version 4.0.
See Also
Code Samples | Managed Code | HTML Support for Internet Explorer Mobile
Send Feedback on this topic to the authors