buttplug-csharp icon indicating copy to clipboard operation
buttplug-csharp copied to clipboard

DisplayName property not set

Open siskyn opened this issue 1 year ago • 0 comments

Given this simple example:

using Buttplug.Client;
using Buttplug.Client.Connectors.WebsocketConnector;

namespace BugTest
{
    public partial class Form1 : Form
    {
        ButtplugWebsocketConnector myConnector;
        ButtplugClient client = new ButtplugClient("Test Client");
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            client.ConnectAsync(new ButtplugWebsocketConnector(new Uri("ws://127.0.0.1:12345"))).GetAwaiter().GetResult();

            ButtplugClientDevice testDevice = client.Devices[0];

            MessageBox.Show(testDevice.DisplayName);
        }

    }
}

The DisplayName is null, even though the DisplayName is set in Intiface Central. Please see attached pictures. BugTest

Intiface

siskyn avatar Nov 15 '23 20:11 siskyn