Page 2 of 2

Re: Code examples .Net and C#?

Posted: Thu Dec 21, 2017 2:17 am
by SteveAndrew
Hi

Here is some sample code that shows how to use the API streaming function with callbacks, written in C#. It was written using Visual Studio 2017, running under Windows 10, 64 bit. The sample project has been configured to compile to 32 bit mode. After unzipping the code to a folder, you will need to place a copy of the 32-bit version of mir_sdr_api.dll from the API in the same folder as the source code. You can download the API from here:

https://www.sdrplay.com/downloads/ Select the Windows tab and click on "API/HW Driver – v2.11 (15th Nov 2017)"

The code will also run in 64-bit mode but you will have to use the 64-bit DLL and change the project properties to compile for 64-bit.

Let me know if you have any problems with the code, it has been tested, but you never know... Good luck :)

Re: Code examples .Net and C#?

Posted: Sat Jan 27, 2018 4:33 pm
by kt5fi
Thank you I have the files. Now I will go and read and try to run.