adamyeager / PushbulletSharp

This is a simple pushbullet wrapper written in C#.
MIT License
52 stars 61 forks source link

Dim devices = Client.CurrentUsersActiveDevices() is no member of PushbulletSharp #18

Closed Semiconductor64 closed 7 years ago

Semiconductor64 commented 8 years ago

Good day,

I am trying to use PushbulletSharp for VB.Net

Following line gives me an error although I did import PushbulletSharp into my VB Project.

Dim devices = Client.CurrentUsersActiveDevices()

Error: CurrentUsersActiveDevices is no member of PushbulletClient

adamyeager commented 7 years ago

The Client does not have a method with the signature of CurrentUsersActiveDevices(). It does however have a method called 'CurrentUsersDevices' and it takes a bool for showing only active devices.

In C# it would be: UserDevices devices = Client.CurrentUsersDevices(true);

Does this help?