Download this attached sample code to learn how to use HomeGroup app in a Windows Store app using C#.