How to invoke Skype from code of my application.

I made an application which shows me a list of person ,I want that on saying the name of the person it should call him from Skype . Kindly help me with that.

Answers

  • hey @akab11ee are you achieve this things i also needs skype from code so please share if you achieve this .

  • Hi,
    this is teh code that I have done for open skype:
    private async void button_Click(object sender, RoutedEventArgs e)
    {
    var uriSkype = new Uri(@skype:(usertocall)?call);

            // Set the option to show a warning
            var promptOptions = new Windows.System.LauncherOptions();
         //   promptOptions.TreatAsUntrusted = true;
    
            // Launch the URI
            var success = await Windows.System.Launcher.LaunchUriAsync(uriSkype);
    
            if (success)
            {
                // URI launched
            }
            else
            {
                // URI launch failed
            }
        }
    

    With this you will open the skype

Sign In or Register to comment.