Networking Code Samples (Compact 2013)

3/26/2014

Windows Embedded Compact 2013 contains the following code samples that apply to Networking.

Warning

The sample code is only a starting point for development. As with any code, you must ensure proper error handling, identify security risks, and thoroughly test it before considering it for production use.

Feature area

Description

Location

Related topic

Network User Interface

Implements the Network and Dial-up Connections application. Demonstrates how to configure dial-up, virtual private network (VPN), LAN, and other network connection types

%_WINCEROOT%\public\COMMON\oak\drivers\netsamp\connmc

Network UI Sample Application Connmc

Network User Interface

Provides a sample application that displays status information while a dial-up or VPN connection is established

%_WINCEROOT%\public\COMMON\oak\drivers\netsamp\rnaapp

Network UI Sample Application Rnaapp

Network Driver Interface Specification (NDIS)

Logs network traffic by producing files that Windows Network Monitor (NetMon) can read

%_WINCEROOT%\public\COMMON\oak\utils\netlog

%_WINCEROOT%\public\COMMON\oak\utils\netlogctl

NDIS Sample Tool Netlog, NDIS Sample Tool Netlogctl

Network Command-Line Tools

Prints the TCP/IP-related configuration data of a host

%_WINCEROOT%\public\COMMON\oak\drivers\netsamp\ipconfig

IPConfig

Network Command-Line Tools

Displays active TCP connections, ports on which the computer is listening, Ethernet statistics, the IP routing table, IPv4 statistics, and IPv6 statistics

%_WINCEROOT%\public\COMMON\oak\drivers\netsamp\netstat

Netstat

Network Command-Line Tools

Demonstrates how to send ICMPv6 or ICMP Echo Request messages to perform network diagnostics and test reachability for a specific destination

%_WINCEROOT%\public\COMMON\oak\drivers\netsamp\ping

Ping

Network Command-Line Tools

Demonstrates how to send ICMPv6 or ICMP Echo Request messages to report information about each router that is crossed and the roundtrip time (RTT) for each hop

%_WINCEROOT%\public\COMMON\oak\drivers\netsamp\tracert

Tracert

Wi-Fi

Uses the Auto Config Module (ACM) service to configure Wi-Fi

%_WINCEROOT%\public\servers\oak\samples\wlantool

Wi-Fi

See Also

Concepts

Code Samples