# Introduction

This archive contains a set of .Net examples that demonstrates the use of ImageDev with OpenInventor.

# Prerequisite

To use ImageDev C# with Open Inventor you need:
    - Visual Studio 2019 or greater
    - To follow the ImageDev getting started C# in order to correctly configure a local NuGet server.

# Preparation

1) Download and unzip
    - an OpenInventor.NET archive (any version from 2025.1 https://developer.openinventor.com/index.php/download-pages/)
    - an ImageDevNet archive (https://developer.imageviz.com/index.php/downloads-page/)

    You can check current versions needed in OpenInventorImageDevExamplesNet/DenoisingImage3D/DenoisingImage3D.csproj file in
    - PackageReference Include="ImageDev-win-x64"
    - PackageReference Include="IOLink"

2) Set up the following environment variable
    - OIVNETHOME must point to the extracted OpenInventorNet archive.

3) Import NuGet packages

If you have correctly followed the procedure to create a local NuGet server (procedure in Getting started C# https://developer.imageviz.com/index.php/reference-manuals/),
you just have to copy the NuGets (contained in the zip files) onto the local server.
To do so, you can execute the following command line from the directory where the ImageDevNet archive has been unzipped and from this directory:

```bash
nuget init nuget /your/local/server/
```

4) Set up the variables OIV_LICENSE_FILE and IMAGEDEV_LICENSE_FILE to a correct license file path.

# Build

Build the provided solution.
