Problems with Using Windows SDK

I’ve already published data to the cloud but have some problems during use Windows SDK to get the data from the cloud.

And here’s my code.Totally follow the DOCS.

When I delete this sentence, still not working. Seems that I can’t Login.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Particle.SDK;
using System.Threading;

namespace RESTAPI_TEST
class Program
    static async void AsyncMethod()
        bool success = await ParticleCloud.SharedCloud.LoginAsync("", "xxxx");
        ParticleDevice device =await ParticleCloud.SharedCloud.GetDeviceAsync("xxxxxxxx");
        var variableResponse = device.GetVariableAsync("SensorValue");
        int temperatureReading = (int)variableResponse.Result;
    static void Main()

How to use this SDK…?Could somebody help me?
Has anybody got the simple working demo about using the Windows SDK to get the data? Thanks a lot!!

Let me ping someone that might be able to help, @blave are you able to assist?

Kyle, I’m not familiar with the Windows SDK. Sorry!


@Kellerman616 I would recommend making a ticket here and we can try and help you out this way.

Appreicate! I’ve send the ticket 55623! Many thanks!!:blush:

1 Like