# C\#

To use ProudNet in a C# project on the DotNet Framework, you need to put the dll in the same path as the executable.

{% hint style="danger" %}
Please be aware that even if it is a server program, the client library must also be referenced to build and run.
{% endhint %}

There are some differences in the configuration of the DLL that need to be referenced between the <mark style="color:orange;">1.7.40679</mark> and <mark style="color:orange;">1.7.47942 versions</mark>.

## Versions 1.7.40679 and earlier

* /lib/DotNet/ProudDotNetClient.dll
* /lib/DotNet/**$(Platform)**/ProudNetClientPlugin.dll
* /lib/DotNet/ProudDotNetServer.dll
* /lib/DotNet/**$(Platform)**/ProudNetServerPlugin.dll

## Versions above 1.7.40679 to below 1.7.47942

* /lib/DotNet/ProudDotNetClient.dll
* /lib/DotNet/**$(Platform)**/ProudNetClientPlugin.dll
* /lib/DotNet/**$(Platform)**/ProudNetClient.dll
* /lib/DotNet/ProudDotNetServer.dll
* /lib/DotNet/**$(Platform)**/ProudNetServerPlugin.dll
* /lib/DotNet/**$(Platform)**/ProudNetServer.dll

## 1.7.47942 and later versions

{% hint style="warning" %}
Starting with version 1.7.47942, the dll version of the OpenSSL module must be added to the same path as the server program, as the OpenSSL module is not included in the server module.

Due to the licensing of OpenSSL, we are unable to provide the OpenSSL dll files as part of the installation. \
You can download the required OpenSSL dll files from the links below.\
\
Download links : \
<https://kb.firedaemon.com/support/solutions/articles/4000121705> <https://wiki.openssl.org/index.php/Binaries>
{% endhint %}

{% hint style="info" %}
You can use any version of the OpenSSL dll as long as you name them <mark style="color:orange;">libcrypto-1\_1-x64.dll</mark> and <mark style="color:orange;">libssl-1\_1-x64.dll</mark>.
{% endhint %}

Starting with version 1.7.47942, you must install the VC redistribution package to use the DotNet module.\
The VC 2015 - 2019 redistribution package is located inside the Bin folder in the ProudNet installation path.

### - Required libraries

* /lib/DotNet/ProudDotNetClient.dll
* /lib/DotNet/**$(Platform)**/ProudNetClientPlugin.dll
* /lib/DotNet/**$(Platform)**/ProudNetClient.dll
* /lib/DotNet/ProudDotNetServer.dll
* /lib/DotNet/**$(Platform)**/ProudNetServerPlugin.dll
* /lib/DotNet/**$(Platform)**/ProudNetServer.dll
* <mark style="color:orange;">libcrypto-1\_1-x64.dll</mark>
* <mark style="color:orange;">libssl-1\_1-x64.dll</mark>

***

## :arrow\_left: [Back](https://docs.proudnet.com/proudnet.eng/proudnet/2.setting/pages/YF7Z3CPCxDI0T1hoMsHR#2.-pidl)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.proudnet.com/proudnet.eng/proudnet/2.setting/c.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
