Skip to content

Getting Started

Josh edited this page Sep 21, 2016 · 1 revision

Getting Started

psn-csharp is a library meant to be added to existing/new projects. To begin, download the code and compile it yourself to get PSN.dll, or visit the releases tab on the repo to download the .dll pre-compiled.

Once you've got PSN.dll, you need to add it to your project. Simply right click on your project solution in Visual Studios and select References -> Add Reference. When the dialog comes up, select "Browse" on the left hand side, and then click the "Browse" button. Navigate to the directory with PSN.dll and select it. It should automatically add the reference to your project.

You should now be able to use the wrapper. At the top of your project, you'll want to add a new directive for the PSN.dll namespace, which is just PSN:

using PSN;

This should set you up for doing most things with this wrapper.

(Note that in the future I plan on setting up a NuGet package for this. I just want to get a stable release ready before I do that).

Clone this wiki locally