我们可以使用Skype句柄获取Skype用户ID吗 [英] Can we get the skype user id using the skype handle

查看:147
本文介绍了我们可以使用Skype句柄获取Skype用户ID吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何使用Skype用户名/句柄获取Skype联系人的用户ID(例如1hRVUAus5JxCuZfhxPOjmKCtoZoO22ps0FBGKiM)

How can we get the user id ( something like 1hRVUAus5JxCuZfhxPOjmKCtoZoO22ps0FBGKiM) of a skype contact using the skype username/handle

推荐答案

是的, Jyothis Jose ,您可以使用c#中的以下代码获取userId和userName

yes, Jyothis Jose you can get userId and userName using following code in c#

if(activity.From.Name != null)
{
string userName= activity.From.Name;
string userID=activity.From.Id;
 //Perform your action
}

这篇关于我们可以使用Skype句柄获取Skype用户ID吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆