Particle Subscribe in C#

Hi Community,

I would like to use the Particle devices to act as a mechanism that will publish data to a service, in my case an ID number. If possible, I would like to this publish request to be received by a listener.

I am wondering if it is possible to have this listener in a C# program (I believe this is how the Particle Subscribe function works)?

Thank you,

Sam

It is a discontinued effort but should still work
https://docs.particle.io/reference/discontinued/windows/

1 Like

Awesome - thank you. I will check it out.

Sam - It looks like you can use the particle cloud rest api : https://docs.particle.io/reference/device-cloud/api/

I have not used it but it looks like you can subscribe to an event here: https://docs.particle.io/reference/device-cloud/api/#get-a-stream-of-events

REST API’s are pretty easy in C# using HTTPClient https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?view=netcore-2.2

LMK if you have questions or need help - I’d be happy to experiment.