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

library for .net framework project #24

Open
dualxu opened this issue Apr 24, 2018 · 1 comment
Open

library for .net framework project #24

dualxu opened this issue Apr 24, 2018 · 1 comment

Comments

@dualxu
Copy link

dualxu commented Apr 24, 2018

Hi,
Thanks for your great work on beacons. I am now working on a .net framework COM project, but it doesn't work with your universal platform library.
Is there any solution for this? thanks!

@ScottMichaud
Copy link

I'm not a part of this project, but the library can be used on .NET Framework applications. The UniversalBeacon.Library.Core is picked up as a reference if you add it to your project. The main problem is that you will need to implement your own IBluetoothPacketProvider for your platform.

If you only need to support Windows 10, then you can look at the source of UniversalBeacon.Library.UWP and re-implement it (basically copy/paste from WindowsBluetoothPacketProvider and PacketExtensions and follow the Apache 2.0 -- or whatever the license is if it ever changes and you use the newer version -- license) using Microsoft's process to call UWP features from Win32. For me, that involved Microsoft's (preview) Microsoft.Windows.SDK.Contracts NuGet package. (You can also use the Windows 10 SDK to do it yourself.)

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

2 participants