I didn't find out how to login from a form in C# to Skype. Is there a possibility to do that? e.g. I type my username and password in a form and when I click sign in, an instance of skype wil开发者_Go百科l launch and log me with my credentials.
Thanks a lot!
You can launch skype with command-line arguments like this:
skype.exe /username:your.username /password:your.password
Found reference here, and tested working on my machine (Skype 5.1). It seems this is not officially documented, so it may disappear in future versions of Skype.
Use System.Diagnostics.Process.Start to launch a program from C#.
May be you could make use of the Skype4COM, an activex component available from Skype. You can download it from : http://developer.skype.com/accessories
This works only when the checkbox "sign me on when skype starts" is checked in the login window. Unless it doesn't.
加载中,请稍侯......
精彩评论