Exemplo n.º 1
0
        public int RequestSendClipBoard(HsNetWork hsNet, string str3NetDestSysID, string strUserID, int TotalCount, int CurCount, int DataType, int ClipboardSize, byte[] ClipData)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]         = "0x00000000";
            dic["CLIENTID"]      = strUserID;
            dic["TOTALCOUNT"]    = TotalCount.ToString();
            dic["CURRENTCOUNT"]  = CurCount.ToString();
            dic["DATATYPE"]      = DataType.ToString();
            dic["CLIPBOARDSIZE"] = ClipboardSize.ToString();
            if (str3NetDestSysID.Length > 0)
            {
                dic["NETOVERDATA"] = str3NetDestSysID;
            }
            dic["CLIPBOARDDATA"] = "-";

            // KKW - Clipboard 전송할곳 지정 : str3NetDestSysID

            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_CLIPBOARDTXT", dic);

            return(hsNet.SendMessageClipBoard(args, ClipData));
        }