sweetroll
sweetroll

Reputation: 341

Has System.Net.PeerToPeer been removed from .NET 4.5? C#

The namespace is not found in my Visual Studio 2017. I've been searching for answers, most of the posts are from 6+ years ago. But I've found nowhere saying it's no longer supported. Do I simply need to download it from somewhere else?

Upvotes: 2

Views: 1205

Answers (1)

Aluan Haddad
Aluan Haddad

Reputation: 31863

As documented on MSDN, the members of that namespace reside in the System.Net assembly.

To make them available in your project, add a reference to System.Net.dll from the "Add Reference" context menu option of your .csproj in Visual Studio.

enter image description here

enter image description here

enter image description here

Upvotes: 2

Related Questions