# Lidgren.Network

Jump to: navigation, search

One skill which could improve your overall project complexity is using networking and multiplayer features. I will therefore just provide the information to use and not give specific examples and tutorials. Lidgren.Network is one method of introducing networking into your game.

# Installation

The easiest way to install Lidgren.Network is to create a new MonoGame project. Make sure your project is targeting the .NET 4.6 Framework. To check this double click "Properties" in the Solution Explorer. Then on the Application tab change the Target Framework drop down to 4.6.

Then in the Tools tab, choose NuGet Package Manager. Then choose Manage NuGet Packages for Solution.

Click on browse, and then type Lidgren.Network into the search box. This should find the latest version (currently 1.0.2), click install. Finally in your Game1.cs, add the code below to the using section:

using Lidgren.Network;


# Source Code

You can download the source code from this link: GitHub Code

# Tutorials

## Full Game

This tutorial series uses: https://code.google.com/archive/p/multiplayer-example/

Tutorial Series: