Code examples .Net and C#?
-
- Posts: 213
- Joined: Thu Nov 16, 2017 11:06 pm
- Location: Gold Coast, QLD, Australia
Re: Code examples .Net and C#?
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
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
- Attachments
-
- StreamingSample.zip
- (19.32 KiB) Downloaded 1441 times
Reason: No reason
Re: Code examples .Net and C#?
Thank you I have the files. Now I will go and read and try to run.
Last edited by kt5fi on Thu Jan 01, 1970 12:00 am, edited 0 times in total.
Reason: No reason
Reason: No reason