Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DisplayName property not set #686

Open
siskyn opened this issue Nov 15, 2023 · 0 comments
Open

DisplayName property not set #686

siskyn opened this issue Nov 15, 2023 · 0 comments

Comments

@siskyn
Copy link

siskyn commented Nov 15, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant