Here is an comment which can be considered as answer
Domanda
I have an application in which I have subscribed for ConversationAdded and ConversationRemoved.
I want to maintain a list of dictionary of conversation which i received from ConversationAdded event and remove it from the list of once i get the ConversationRemoved Event.
So my question-> Is there some way we can find some uniqueness or some key of Conversation which i can get and add it in the list. And when i get the conversation removed event i can use that key from the conversation object received and remove the conversation object from the list.
Please let me know your comments.
Soluzione 2
Altri suggerimenti
Yep, there's a ConversationID you can get. From the ConversationAdded event, you can get it with this:
string ConversationID = e.Conversation.Properties[ConversationProperty.Id].ToString();
More info and a proper walk-through on my blog here.