private void AddSendFileHandle(string[] fileArray)
        {
            if (fileArray != null && fileArray.Length > 0)
            {
                int i = 0;
                while (i < fileArray.Length)
                {
                    string             filePath = fileArray[i];
                    System.IO.FileInfo fileInfo = new System.IO.FileInfo(filePath);
                    if (ValidationUtil.IsSharePath(fileInfo.FullName))
                    {
                        this.ChatComponent.AddMessageNotice("目前暂时不支持发送共享文件!");
                    }
                    else
                    {
                        if (this.staff == null)
                        {
                            break;
                        }
                        if (this.sessionService.DeptBlockList.Contains(this.staff.DepartmentId))
                        {
                            IDKin.IM.Core.Department dep = this.dataService.GetDepartment(this.staff.DepartmentId);
                            string depname = (dep == null) ? string.Empty : dep.Name;
                            this.ChatComponent.AddMessageNotice(string.Concat(new string[]
                            {
                                "您没有权限向\"",
                                depname,
                                "\"发送文件,\"",
                                fileInfo.Name,
                                "\"发送失败"
                            }));
                        }
                        else
                        {
                            if (fileInfo.Length / 10L <= 209715200L)
                            {
                                if (fileInfo.Length == 0L)
                                {
                                    this.ChatComponent.AddMessageNotice("您发的文件" + fileInfo.Name + "内容为0KB, 发送失败");
                                }
                                else
                                {
                                    this.AddSendFileItem(fileInfo);
                                }
                            }
                            else
                            {
                                this.ChatComponent.AddMessageNotice("您发的文件" + fileInfo.Name + "已经超过最大容量2G, 发送失败");
                            }
                        }
                    }
IL_193:
                    i++;
                    continue;
                    goto IL_193;
                }
            }
        }
        private void AddSendFileHandle(string[] fileArray)
        {
            if (fileArray != null && fileArray.Length > 0)
            {
                int i = 0;
                while (i < fileArray.Length)
                {
                    string             filePath = fileArray[i];
                    System.IO.FileInfo fileInfo = new System.IO.FileInfo(filePath);
                    if (ValidationUtil.IsSharePath(fileInfo.FullName))
                    {
                        this.ChatComponent.AddMessageNotice("目前暂时不支持发送共享文件!");
                    }
                    else
                    {
                        if (this.staff == null)
                        {
                            break;
                        }
                        if (fileInfo.Length / 10L <= 1048576000L)
                        {
                            if (fileInfo.Length == 0L)
                            {
                                this.ChatComponent.AddMessageNotice("您发的文件" + fileInfo.Name + "内容为0KB, 发送失败");
                            }
                            else
                            {
                                this.AddSendFileItem(fileInfo);
                            }
                        }
                        else
                        {
                            this.ChatComponent.AddMessageNotice("您发的文件" + fileInfo.Name + "已经超过最大容量100M, 发送失败");
                        }
                    }
IL_F0:
                    i++;
                    continue;
                    goto IL_F0;
                }
            }
        }