New Peer-To-Peer APIs in .NET 3.5

Posted: (EET/GMT+2)

 

Earlier today I blogged about the new ListView component for ASP.NET developers in forthcoming .NET 3.5. In addition to the major enhancements like C# 3.0 and LINQ, the 3.5 version also brings many interesting smaller additions to the framework class library. One of these is the support to Vista's Peer-To-Peer APIs. This brings up the new namespaces System.Net.PeerToPeer and System.Net.PeerToPeer.Collaboration. To use these new APIs for example from Visual Studio 2008 March CTP, you need to start a project and then reference the following assembly:

C:\Windows\Microsoft.NET\Framework\v3.5.20404\System.Net.dll

A screenshot from Windows Server 2008 beta showing the assembly:

Note that you won't find the name of this assembly from the initial list provided by the Add Reference dialog box, but if you go to the Browse tab, you can select the above path and pick System.Net.dll from there. Good luck!