Can we get the skype user id using the skype handle

£可爱£侵袭症+ 提交于 2019-12-11 06:56:21

问题


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


回答1:


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
}


来源:https://stackoverflow.com/questions/40377169/can-we-get-the-skype-user-id-using-the-skype-handle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!