The source code for MachineDemoServer is included in the SDK. Visual Studio solution and code samples can be found in the SDK installation directory \src\examples\MachineDemoServer.
\src\examples\MachineDemoServer