WebCrawler
8/28/2008
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 Mobile 6 SDK\Samples\PocketPC\CS\WebCrawler
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).
Development Environments
SDK: Windows Mobile 6 Professional SDK and Windows Mobile 6 Standard SDK
Development Environment: Visual Studio 2005.
ActiveSync: Version 4.5.
See Also
Concepts
Code Samples for Windows Mobile
Other Resources
Windows Mobile Features (Managed)
HTML Support for Internet Explorer Mobile