Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use C# bindings #859

Open
JoepBakker opened this issue Jul 3, 2022 · 2 comments
Open

How to use C# bindings #859

JoepBakker opened this issue Jul 3, 2022 · 2 comments

Comments

@JoepBakker
Copy link

I am new to using libiio and I would like to use it in a csharp application. However, I have not been able to find any information about how to actually use/add the csharp bindings to my program.

Could someone maybe explain or link to a resource that explains how to set up a c# project that is able to use libiio functionality?

Thanks a lot in advance!

@pcercuei
Copy link
Contributor

pcercuei commented Jul 5, 2022

Hi,

If you install libiio through the libiio-setup.exe then the C# bindings should already be installed. You can add it in Visual Studio (or your IDE of choice) like any other dependency.

If you wonder how to use the bindings, there is an (old) example here: https://github.com/analogdevicesinc/libiio/blob/master/bindings/csharp/examples/ExampleProgram.cs

@Blackclaws
Copy link

It would be great if you could release a nuget package with the bindings and also the runtime as that is much easier to consume than installing libiio manually and also permits easy restore across applications. If you'd like someone to help with setting that up let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants