Skip to content

DisplayName property not set #686

Open
@siskyn

Description

@siskyn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions