Hi Team, how to get the Running server to stop it? There are no ids etc that i can use. Appreciate your support.
{
if (server == null)
return;
// on stop, mark collection as completed and unregister MessageReceived event
server.Stop();
server.MessageReceived -= server_MessageReceived;
messageQueue.CompleteAdding();
server = null;
}