/// <summary> /// Trimite un mesaj primit dela un user spre celalalt user /// </summary> /// <param name="message"></param> /// <param name="fromUserName"></param> /// <param name="toUserNameChannelURL"></param> public static void SendMessage(string message, string fromUserName, string toUserNameChannelURL) { if (!toUserNameChannelURL.Equals("0")) { ClientRemoteObject = (ServerToClientCOM.RemotableObject)Activator.GetObject(typeof(ServerToClientCOM.RemotableObject), toUserNameChannelURL); ClientRemoteObject.MessageReceived(message, fromUserName); } }