private void SharerForm_Load(object sender, EventArgs e)
        {
            _sharer.OpenShare();

            screenShareManager.SaveInvitationString(connectionID, _sharer.ReturnInvitationString());
            screenShareManager.SetConnectionStarted(connectionID);

            LogTextBox.Text += "Presentation Started. Your Desktop is being shared." + Environment.NewLine;
        }
Пример #2
0
        public int SaveInvitationString(int connectionID, string InvitationString)
        {
            var response = screenShareComplexManager.SaveInvitationString(connectionID, InvitationString);

            if (response.IsSuccess)
            {
                return(connectionID);
            }
            else
            {
                return(-1);
            }
        }