I'm confused about WinRT and .NET.
These namespaces: http://msdn.microsoft.com/en-us/library/windows/apps/br211377.aspx exist in WinRT but they are not complete (for example System.IO
does not exist).
For socket programming there are two namespaces:
1- System.Net.Sockets
in .NET library.
2- Windows.Networking.Sockets
in WinRT.
Should I use the WinRT APIs in a .NET project? If the answer is 'yes' then why should I use WinRT APIs instead of the .NET APIs?