In the previous chapter, we have covered all the main features of MQTT protocol. Its architecture provides two main roles : client and server (broker). There are a lot of implementations for both in different programming languages but in this chapter we will deepen on the M2Mqtt client library written in C# for all .Net Framework versions (full, compact and micro), released as open source on CodePlex (http://m2mqtt.codeplex.com) and also available on Nuget (http://www.nuget.org/packages/M2Mqtt/) using Nuget Package Manager in Visual Studio 2012.
This chapter will cover the following subjects: