10. Networking

Network connectivity is a major feature of most Windows Store apps, as you learned in previous chapters. Although you have learned how to connect to services and keep your content fresh, Windows 8.1 devices are capable of connecting to the Internet and other devices in myriad ways. In this chapter, you learn some of these more advanced methods and how to integrate them into your own apps.

In addition to supporting the HTTP protocols, WinRT provides APIs that make it easy to enumerate resources on your HomeGroup network. You can enumerate network information and obtain the current data plan so that your app can modify its behavior to avoid downloading large amounts of data over a metered connection. The sockets APIs enable low-level ...

Get Programming the Windows Runtime by Example: A Comprehensive Guide to WinRT with Examples in C# and XAML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.