C# Quick Start
Use the C# SDK in different ways depending on the host type.
Choose the installation path
NNRP is documented against the intended stable 1.0.0 API line. During preview development, install snippets should pin the current preview package instead of implying a stable package. The current C# preview package train is 1.0.0-preview.2.
Regular .NET client application
If you are building a regular .NET client application, install the client package from NuGet:
dotnet add package Nnrp.Client --version 1.0.0-preview.2Use this path for managed client-side integrations that want the C# session helpers and client-facing API surface.
Regular .NET server application
If you are building a regular .NET server application, install the server package from NuGet:
dotnet add package Nnrp.Server --version 1.0.0-preview.2Use this path for server-side session helpers and protocol-facing server integration.
Unity project
If you are integrating from Unity, do not install the SDK through NuGet.
The recommended path is to install it through OpenUPM:
openupm add com.nnrp.clientPackage page: https://openupm.com/packages/com.nnrp.client/
If you do not want to use the OpenUPM CLI, you can update Packages/manifest.json directly:
{
"scopedRegistries": [
{
"name": "package.openupm.com",
"url": "https://package.openupm.com",
"scopes": [
"com.nnrp.client"
]
}
],
"dependencies": {
"com.nnrp.client": "<current-preview-version>"
}
}GitHub Release assets are still published by CI, but they are now a fallback distribution path rather than the recommended Unity installation flow.
Notes
Nnrp.ClientandNnrp.Serverare the primary entry packages for regular .NET applications.- Lower-level packages such as
Nnrp.Core,Nnrp.Transport.Tcp, andNnrp.NativeBridgeare still available when you need more control over transport or wire-level integration. - The Unity package is now available on OpenUPM, and the preferred install path is OpenUPM CLI or a direct
Packages/manifest.jsonupdate.