private void button_login_with_steam_Click(object sender, EventArgs e) { if (Enabled) { if (VRChatRPC.Update()) { Enabled = false; VRCApi.ThridPartyLogin("steam", new Dictionary <string, object> { ["steamTicket"] = VRChatRPC.GetAuthSessionTicket() }); } else { MessageBox.Show("Login via Steam failed, It only works when VRChat is running.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } }