Share via


UPnP Support in Windows CE

Microsoft® Windows® CE .NET provides support for UPnP device-hosting services and UPnP control points. In a UPnP-based network, a Windows CE –based platform can assume the following roles. A Windows CE–based device can also assume a combination of these roles:

  • It can function as a dedicated controlled UPnP device that is connected to the network in a home or business network scenario.
  • It can assume the role of a control point that discovers and controls the available UPnP devices on the network.
  • It can be used as a UPnP bridge that functions as a proxy for non-UPnP devices.

If a device is connected to more than one network, UPnP can be disabled on selected networks by altering various registry settings. For more information, see UPnP Registry Settings.

Windows CE 4.20 and later supports UPnP over IPv6 according to the published standard UPnP Device Architecture v1.0 Annex A - IP Version 6 Support. For more information, see www.upnp.org.

To enable UPnP over IPv6, set the appropriate IPVersionSetting in the registry. For more information, see UPnP Registry Settings.

The Windows CE implementation of UPnP provides the following features and elements. These features and elements are required to implement a UPnP infrastructure:

  • TCP/IP
  • HTTPD Web Server
  • XML and MSXML
  • Simple Service Discovery Protocol (SSDP)
  • General Event Notification Architecture (GENA)
  • SOAP

Windows CE also supports the following APIs for the creation of UPnP-based applications:

  • A COM-based UPnP Control Point API for applications
  • A COM-based UPnP host API for service providers and devices
  • A C UPnP host API for creating UPnP devices

UPnP differs in Windows CE .NET and Microsoft® Windows® XP in the following ways:

  • The Windows CE shell does not provide a user interface enabling users to discover and interact with UPnP devices on a local network.
  • Windows CE interprets the UPnP protocol float data types as an 8-byte real number.
  • Windows CE stores the UPnP number data type locally as a double, 8-byte real number. This may inadvertently strip some punctuation. For example, Windows CE would store the number 1,234.12 as a real data type. On retrieval, even as text, Windows CE would return 1234.12 without the extraneous comma.

See Also

Universal Plug and Play (UPnP) | UPnP Registry Settings

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.