コード例 #1
0
        private void OnClickConnectSpotify(object sender, RoutedEventArgs e)
        {
            bool connectedToClient = m_streamingSystemManager.Connect((int)StreamingSystemType.Spotify);

            if (!connectedToClient)
            {
                MessageBox.Show("Verify that spotify client is running in your machine and try again", "Connaction failed", MessageBoxButton.OK, MessageBoxImage.Warning);
            }
        }