public unsafe void Test(int WXID = 0) { fixed(int *pushStr1 = &pushStr) { XzyWxApis.WXHeartBeat(WXID, (int)pushStr1); XzyWeChatThread xzyWeChat = new XzyWeChatThread(); var datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); xzyWeChat.Wx_ReleaseEX(ref pushStr); ////返回null //XzyWxApis.WXUserLogin(WXID, "bilizhou0903", "zhoubili0903", (int)pushStr1); //XzyWeChatThread xzyWeChat = new XzyWeChatThread(); //var datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); XzyWxApis.WXSendAppMsg(WXID, "wxid_z3sckhpgn43v21", "<appmsg appid='wx3fea7a3c94a23944' sdkver='0'><title>领取饿了么红包,看饿了别叫妈,和王祖蓝一起走火入魔</title><des>每周日0点爱奇艺,百变神咖-王祖蓝,魔性上演</des><action></action><showtype>0</showtype><mediatagname></mediatagname><messageext></messageext><messageaction></messageaction><content></content><url>https://m.ele.me/activities/hongbao?hardware_id=3fca613450f7e9a7bdc7d590e4f2ff8f&track_id=1442566941%7c_f85c6d24-5de3-11e5-b23a-c81f66fb98a9%7cbd6b3eda48770a593bf2a444d486215b&d18:20 2015/12/6 星期日vice_id=b325dc11-26e0-3c79-a918-955dc85b7b34&sn=28cf845bf9a08aa4addc2044d9944866</url><lowurl></lowurl><dataurl></dataurl><lowdataurl></lowdataurl><appattach><totallen>0</totallen><attachid></attachid><emoticonmd5></emoticonmd5><fileext></fileext><cdnthumburl>30590201000452305002010002046d42c1c002030f424302041ff690750204566408a1042e6175706170706d73675f653831313963356364376633353464655f313434393333353932383332325f33313730350201000201000400</cdnthumburl><cdnthumblength>17478</cdnthumblength><cdnthumbwidth>100</cdnthumbwidth><cdnthumbheight>200</cdnthumbheight><cdnthumbaeskey>39333861323861363666626436616431</cdnthumbaeskey><aeskey>39333861323861363666626436616431</aeskey><encryver>0</encryver></appattach><extinfo></extinfo><commenturl></commenturl><thumburl></thumburl><md5></md5></appmsg>", (int)pushStr1); datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); xzyWeChat.Wx_ReleaseEX(ref pushStr); ////返回null XzyWxApis.WXPhoneLogin(WXID, "+8618768177519", "zhoubili0903", (int)pushStr1); datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); xzyWeChat.Wx_ReleaseEX(ref pushStr); ////返回null XzyWxApis.WXGetLoginVerifyCode(WXID, "+8618768177519", (int)pushStr1); datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); xzyWeChat.Wx_ReleaseEX(ref pushStr); ////返回null //XzyWxApis.WXSendLoginVerifyCode(WXID, "+8618768177519", "123456", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功 //XzyWxApis.WXGetContact(WXID, "wxid_z3sckhpgn43v21", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功 //XzyWxApis.WXSnsUserPage(WXID, "wxid_z3sckhpgn43v21","", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功 //XzyWxApis.WXSnsObjectDetail(WXID, "12838091718978637970", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功返回{"message":"","status":0} //XzyWxApis.WXSnsObjectOp(WXID, "12838091718978637970",5,192,2,(int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功 //XzyWxApis.WXSearchContact(WXID, "18768177519",(int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功 //XzyWxApis.WXAddUser(WXID, "v1_92a7db75f738a5fda0be97a2a116a76646248f17fb898f17994a12352c9b6f818cd50b7f3cd29962a55ddd28bd5e3f5e@stranger","",1,"hello", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功 //XzyWxApis.WXDeleteUser(WXID, "wxid_qpa6140vqikj21@stranger", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////有返回 //XzyWxApis.WXAcceptUser(WXID, "v1_caa184cca67809743add39844a9a7a51cd4df982570340e8ae5f3cad28347ad4@stranger", "v2_d1c8b3b609c0e3863c2ea11ac5adbd27f5a25f960ab6da885f35589e1b4cc4f1928817d6f130e5ca87e6edd4e41d5d09cb73e76bd96dc610767053879cba15b1@stranger", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功 //XzyWxApis.WXGetLoginToken(WXID, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //LoginToken token = JsonConvert.DeserializeObject<LoginToken>(datas.ToString()); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////返回null //XzyWxApis.WXLoginRequest(WXID, token.token, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////登录错误,请重新登录 //XzyWxApis.WXAutoLogin(WXID, token.token, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////{"message":"cannot parse wx.dat","status":-1} //byte[] data62 = System.Text.Encoding.Default.GetBytes("YnBsaXN0MDDUAQIDBAUGCQpYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKIHCFUkbnVsbF8QIDEzYjM3NDAyMDJjMDk0ZjVhOTYzNTlkYmQ5Njg5NTBkXxAPTlNLZXllZEFyY2hpdmVy0QsMVHJvb3SAAQgRGiMtMjc6QGN1eH0AAAAAAAABAQAAAAAAAAANAAAAAAAAAAAAAAAAAAAAfw=="); //XzyWxApis.WXLoadWxDat(WXID, data62, data62.Length, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功 //XzyWxApis.WXGetRequestToken(WXID, "gh_8f0ca9863b81", "https://mp.weixin.qq.com/s?__biz=MzA5MDAwOTExMw==&mid=200126214&idx=1&sn=a1e7410ec56de5b6c4810dd7f7db8a47&chksm=1e0b3470297cbd666198666278421aed0a131d775561c08f52db0c82ce0e6a9546aac072a20e&mpshare=1&scene=1&srcid=0408bN3ACxqAH6jyq4vCBP9e&ascene=7&devicetype=iPad+iPhone+OS9.0.2&version=16060125&nettype=WIFI&lang=zh_CN&fontScale=100&pass_ticket=hmO2uJbtlPo52na5wD1Dp%2FSgR0%2FXjHoCEiOL%2BCBrvng%3D&wx_header=1", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功 //XzyWxApis.WXGetSubscriptionInfo(WXID, "gh_8f0ca9863b81", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功 //byte[] image = GetFileByte("D:\\2.png"); //XzyWxApis.WXSetHeadImage(WXID, image, image.Length, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功 //XzyWxApis.WXSendMsg(WXID, "wxid_1dl6sa012v1f22", "hello", null, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功 //XzyWxApis.WXSetProxyInfo(WXID, "192.168.0.0", 1, "","", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////程序会退出 //XzyWxApis.WXGetPeopleNearby(WXID, 118.538361, 24.911349, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //返回null //XzyWxApis.WXReceiveRedPacket(WXID, "{\"content\":\"<msg><appmsg appid=\"\" sdkver=\"\"><des><![CDATA[我给你发了一个红包,赶紧去拆!]]></des><url><![CDATA[https://wxapp.tenpay.com/mmpayhb/wxhb_personalreceive?showwxpaytitle=1&msgtype=1&channelid=1&sendid=1000039501201809067010753012257&ver=6&sign=9eaf410e700315be5f16e6588dc0d5507b45eb169b91ff05acbe03ba0c7f2766fa4bc40390576b7725abc1154bcbe48faa7e77c6038fa3bf852267ba2cddd3b8f45c8943d883f36bb2dd5d850c7cb819]]></url><type><![CDATA[2001]]></type><title><![CDATA[微信红包]]></title><thumburl><![CDATA[https://wx.gtimg.com/hongbao/1800/hb.png]]></thumburl><wcpayinfo><templateid><![CDATA[7a2a165d31da7fce6dd77e05c300028a]]></templateid><url><![CDATA[https://wxapp.tenpay.com/mmpayhb/wxhb_personalreceive?showwxpaytitle=1&msgtype=1&channelid=1&sendid=1000039501201809067010753012257&ver=6&sign=9eaf410e700315be5f16e6588dc0d5507b45eb169b91ff05acbe03ba0c7f2766fa4bc40390576b7725abc1154bcbe48faa7e77c6038fa3bf852267ba2cddd3b8f45c8943d883f36bb2dd5d850c7cb819]]></url><iconurl><![CDATA[https://wx.gtimg.com/hongbao/1800/hb.png]]></iconurl><receivertitle><![CDATA[恭喜发财,大吉大利]]></receivertitle><sendertitle><![CDATA[恭喜发财,大吉大利]]></sendertitle><scenetext><![CDATA[微信红包]]></scenetext><senderdes><![CDATA[查看红包]]></senderdes><receiverdes><![CDATA[领取红包]]></receiverdes><nativeurl><![CDATA[wxpay://c2cbizmessagehandler/hongbao/receivehongbao?msgtype=1&channelid=1&sendid=1000039501201809067010753012257&sendusername=PARFUMvae&ver=6&sign=9eaf410e700315be5f16e6588dc0d5507b45eb169b91ff05acbe03ba0c7f2766fa4bc40390576b7725abc1154bcbe48faa7e77c6038fa3bf852267ba2cddd3b8f45c8943d883f36bb2dd5d850c7cb819]]></nativeurl><sceneid><![CDATA[1002]]></sceneid><innertype><![CDATA[0]]></innertype><paymsgid><![CDATA[1000039501201809067010753012257]]></paymsgid><scenetext>微信红包</scenetext><locallogoicon><![CDATA[c2c_hongbao_icon_cn]]></locallogoicon><invalidtime><![CDATA[1536299981]]></invalidtime></wcpayinfo></appmsg><fromusername><![CDATA[PARFUMvae]]></fromusername></msg>\",\"continue\":1,\"description\":\"栾蓓蕾 : [红包]恭喜发财,大吉大利\",\"from_user\":\"PARFUMvae\",\"msg_id\":\"1025036533062768926\",\"msg_source\":\"<msgsource><pushkey /></msgsource>\",\"msg_type\":5,\"status\":1,\"sub_type\":49,\"timestamp\":1536213581,\"to_user\":\"wxid_z3sckhpgn43v21\",\"uin\":2708420761}", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //返回null //XzyWxApis.WXQueryRedPacket(WXID, "{\"content\":\"<msg><appmsg appid=\"\" sdkver=\"\"><des><![CDATA[我给你发了一个红包,赶紧去拆!]]></des><url><![CDATA[https://wxapp.tenpay.com/mmpayhb/wxhb_personalreceive?showwxpaytitle=1&msgtype=1&channelid=1&sendid=1000039501201809067010753012257&ver=6&sign=9eaf410e700315be5f16e6588dc0d5507b45eb169b91ff05acbe03ba0c7f2766fa4bc40390576b7725abc1154bcbe48faa7e77c6038fa3bf852267ba2cddd3b8f45c8943d883f36bb2dd5d850c7cb819]]></url><type><![CDATA[2001]]></type><title><![CDATA[微信红包]]></title><thumburl><![CDATA[https://wx.gtimg.com/hongbao/1800/hb.png]]></thumburl><wcpayinfo><templateid><![CDATA[7a2a165d31da7fce6dd77e05c300028a]]></templateid><url><![CDATA[https://wxapp.tenpay.com/mmpayhb/wxhb_personalreceive?showwxpaytitle=1&msgtype=1&channelid=1&sendid=1000039501201809067010753012257&ver=6&sign=9eaf410e700315be5f16e6588dc0d5507b45eb169b91ff05acbe03ba0c7f2766fa4bc40390576b7725abc1154bcbe48faa7e77c6038fa3bf852267ba2cddd3b8f45c8943d883f36bb2dd5d850c7cb819]]></url><iconurl><![CDATA[https://wx.gtimg.com/hongbao/1800/hb.png]]></iconurl><receivertitle><![CDATA[恭喜发财,大吉大利]]></receivertitle><sendertitle><![CDATA[恭喜发财,大吉大利]]></sendertitle><scenetext><![CDATA[微信红包]]></scenetext><senderdes><![CDATA[查看红包]]></senderdes><receiverdes><![CDATA[领取红包]]></receiverdes><nativeurl><![CDATA[wxpay://c2cbizmessagehandler/hongbao/receivehongbao?msgtype=1&channelid=1&sendid=1000039501201809067010753012257&sendusername=PARFUMvae&ver=6&sign=9eaf410e700315be5f16e6588dc0d5507b45eb169b91ff05acbe03ba0c7f2766fa4bc40390576b7725abc1154bcbe48faa7e77c6038fa3bf852267ba2cddd3b8f45c8943d883f36bb2dd5d850c7cb819]]></nativeurl><sceneid><![CDATA[1002]]></sceneid><innertype><![CDATA[0]]></innertype><paymsgid><![CDATA[1000039501201809067010753012257]]></paymsgid><scenetext>微信红包</scenetext><locallogoicon><![CDATA[c2c_hongbao_icon_cn]]></locallogoicon><invalidtime><![CDATA[1536299981]]></invalidtime></wcpayinfo></appmsg><fromusername><![CDATA[PARFUMvae]]></fromusername></msg>\",\"continue\":1,\"description\":\"栾蓓蕾 : [红包]恭喜发财,大吉大利\",\"from_user\":\"PARFUMvae\",\"msg_id\":\"1025036533062768926\",\"msg_source\":\"<msgsource><pushkey /></msgsource>\",\"msg_type\":5,\"status\":1,\"sub_type\":49,\"timestamp\":1536213581,\"to_user\":\"wxid_z3sckhpgn43v21\",\"uin\":2708420761}", 1, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功 //byte[] image2 = GetFileByte("D:\\2.png"); //XzyWxApis.WXSendImage(WXID, "wxid_1dl6sa012v1f22", image2, image2.Length, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////{"message":"","status":0} //XzyWxApis.WXSayHello(WXID, "v1_caa184cca67809743add39844a9a7a51cd4df982570340e8ae5f3cad28347ad4@stranger", "", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////退出程序 //XzyWxApis.WXGetMsgVoice(WXID, "{\"content\":\"<msg><voicemsg endflag=\"1\" cancelflag=\"0\" forwardflag=\"0\" voiceformat=\"4\" voicelength=\"3380\" length=\"6067\" bufid=\"432885235978469974\" clientmsgid=\"492806098176d67c3f695ce032d29258wxid_z3sckhpgn43v214517_1536213488\" fromusername=\"PARFUMvae\" /></msg>\",\"continue\":1,\"data\":\"AiMhU0lMS19WMxIApCJthZ6LF/9+Eg3O8YUjnWUTIACweMVqD7mXoQu6zO6LuLll5Gz77odMs/JoLd3ofHbyvx8AsHHuCmr/OrqhX+WudFqYu4AyO//2P2uFf/vtJZClXyQAsJV99fR6sNMP3+UNlGArZIrK/xUpps/C+vxKHpb8c/2HtRkPIwCxAw20WSIohfm3TYTEWtvL2krwyKMiXpHhSTnY9EqVrhbEfyQAscp0nOBDrtHDyVZRpZTLQm1DrKx9t4ta/0IJYvsagzmAn+j/IgCyRK0Eh0oWRynqKgFqQzoQxR0bwMp3+Xjxl/bQxjpS5KR/JgCzKVdKG5vmc9a3yFeqWwgK0M4MxXjyHDfqMq8ub1CVnVEj98zgRyQAs4RoMZZT3QjsgXu0Bww+m0mtepEYsYkohC8/wa5faqXsK8f/IgCziqtI3ZOrTdaNNg5HXraZuJk4125ICkUhjljWrR1CpwSXHgCzhnnsP7I7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6qbKMgceALExcTn2NkP6Y7xSSpRj0FH4uydkM7cavmy60pzRHw==\",\"description\":\"栾蓓蕾 : [语音]\",\"from_user\":\"PARFUMvae\",\"msg_id\":\"5674497833798536071\",\"msg_source\":\"<msgsource />\",\"msg_type\":5,\"status\":1,\"sub_type\":34,\"timestamp\":1536213491,\"to_user\":\"wxid_z3sckhpgn43v21\",\"uin\":2708420761}", (int)pushStr1); //XzyWeChatThread xzyWeChat = new XzyWeChatThread(); //var datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXTransferOperation(WXID, "wxid_1dl6sa012v1f22", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功 //XzyWxApis.WXSendMoments(WXID, "测试", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////程序退出 //XzyWxApis.WXMassMessage(WXID, "[\"wxid_1dl6sa012v1f22\"]","", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////成功{"data":"YnBsaXN0MDDUAQIDBAUGCQpYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKIHCFUkbnVsbF8QIDEzYjM3NDAyMDJjMDk0ZjVhOTYzNTlkYmQ5Njg5NTBkXxAPTlNLZXllZEFyY2hpdmVy0QsMVHJvb3SAAQgRGiMtMjc6QGN1eH0AAAAAAAABAQAAAAAAAAANAAAAAAAAAAAAAAAAAAAAfw==","message":"","status":0} //XzyWxApis.WXGenerateWxDat(WXID, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXOpenRedPacket(WXID, "[{\"content\":\"<msg><appmsg appid=\"\" sdkver=\"\"><des><![CDATA[我给你发了一个红包,赶紧去拆!]]></des><url><![CDATA[https://wxapp.tenpay.com/mmpayhb/wxhb_personalreceive?showwxpaytitle=1&msgtype=1&channelid=1&sendid=1000039501201809067010753012257&ver=6&sign=9eaf410e700315be5f16e6588dc0d5507b45eb169b91ff05acbe03ba0c7f2766fa4bc40390576b7725abc1154bcbe48faa7e77c6038fa3bf852267ba2cddd3b8f45c8943d883f36bb2dd5d850c7cb819]]></url><type><![CDATA[2001]]></type><title><![CDATA[微信红包]]></title><thumburl><![CDATA[https://wx.gtimg.com/hongbao/1800/hb.png]]></thumburl><wcpayinfo><templateid><![CDATA[7a2a165d31da7fce6dd77e05c300028a]]></templateid><url><![CDATA[https://wxapp.tenpay.com/mmpayhb/wxhb_personalreceive?showwxpaytitle=1&msgtype=1&channelid=1&sendid=1000039501201809067010753012257&ver=6&sign=9eaf410e700315be5f16e6588dc0d5507b45eb169b91ff05acbe03ba0c7f2766fa4bc40390576b7725abc1154bcbe48faa7e77c6038fa3bf852267ba2cddd3b8f45c8943d883f36bb2dd5d850c7cb819]]></url><iconurl><![CDATA[https://wx.gtimg.com/hongbao/1800/hb.png]]></iconurl><receivertitle><![CDATA[恭喜发财,大吉大利]]></receivertitle><sendertitle><![CDATA[恭喜发财,大吉大利]]></sendertitle><scenetext><![CDATA[微信红包]]></scenetext><senderdes><![CDATA[查看红包]]></senderdes><receiverdes><![CDATA[领取红包]]></receiverdes><nativeurl><![CDATA[wxpay://c2cbizmessagehandler/hongbao/receivehongbao?msgtype=1&channelid=1&sendid=1000039501201809067010753012257&sendusername=PARFUMvae&ver=6&sign=9eaf410e700315be5f16e6588dc0d5507b45eb169b91ff05acbe03ba0c7f2766fa4bc40390576b7725abc1154bcbe48faa7e77c6038fa3bf852267ba2cddd3b8f45c8943d883f36bb2dd5d850c7cb819]]></nativeurl><sceneid><![CDATA[1002]]></sceneid><innertype><![CDATA[0]]></innertype><paymsgid><![CDATA[1000039501201809067010753012257]]></paymsgid><scenetext>微信红包</scenetext><locallogoicon><![CDATA[c2c_hongbao_icon_cn]]></locallogoicon><invalidtime><![CDATA[1536299981]]></invalidtime></wcpayinfo></appmsg><fromusername><![CDATA[PARFUMvae]]></fromusername></msg>\",\"continue\":1,\"description\":\"栾蓓蕾 : [红包]恭喜发财,大吉大利\",\"from_user\":\"PARFUMvae\",\"msg_id\":\"1025036533062768926\",\"msg_source\":\"<msgsource><pushkey /></msgsource>\",\"msg_type\":5,\"status\":1,\"sub_type\":49,\"timestamp\":1536213581,\"to_user\":\"wxid_z3sckhpgn43v21\",\"uin\":2708420761}]", "", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXFavSync(WXID, "", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXFavAddItem(WXID, "<favitem type=\"1\"><desc>我这辈子最佩服的只有两个人一个是群主,还有一个,就是免死[抱拳][抱拳][抱拳]</desc><ctrlflag>127</ctrlflag><source sourcetype=\"1\" sourceid=\"5247349643135372738\"><fromusr>wxid_j7rwo75glpzw22</fromusr><tousr>7459655793@chatroom</tousr><createtime>1474781339</createtime><msgid>5247349643135372738</msgid></source></favitem>", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXFavGetItem(WXID, 1, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXFavDeleteItem(WXID, 36, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXGetContactLabelList(WXID, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //LableResult result=JsonConvert.DeserializeObject<LableResult>(datas.ToString()); //string str=UnBase64String(result.label[0].name); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXAddContactLabel(WXID,"测试", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXDeleteContactLabel(WXID, "1", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXSetContactLabel(WXID, "wxid_z3sckhpgn43v21", "1", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXShareCard(WXID, "wxid_z3sckhpgn43v21", "wxid_z3sckhpgn43v21", "分享", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXGetSubscriptionInfo(WXID, "公众号", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXSubscriptionCommand(WXID, "gh", 1, "1", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXRequestUrl(WXID, "baidu.com", "1", "1", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //int i=XzyWxApis.WXSyncReset(WXID); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //报错 //XzyWxApis.WXCreateChatRoom(WXID, "[\"wxid_g58r112lnw0q22\",\"my26259675\"]", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXAddChatRoomMember(WXID, "测试", "wxid_z3sckhpgn43v21", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXInviteChatRoomMember(WXID, "测试", "wxid_z3sckhpgn43v21", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXQRCodeDecode(WXID, "D:\\1536054976.png", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); ////不清楚这个方法干嘛用的,login_url //XzyWxApis.WXExtDeviceLoginGet(WXID, "", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXSendVoice(WXID, "wxid_z3sckhpgn43v21", GetFileByte("E:\\Project\\myself\\SS_CUSTOM\\Custom\\Client\\CustomClient\\bin\\Debug\\cache\\1acc0639-f805-49ab-a257-7042755500e0.mp3"), 10,10, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXExtDeviceLoginOK(WXID, "", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXSetUserInfo(WXID, "江旭", "江旭",1,"中国","浙江","杭州", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXLogout(WXID, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXSetUserInfo(WXID, "王力宏", "china is one of", 1, "CN", "Zhejiang", "Hangzhou", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXGetChatRoomMember(WXID, "4830356129@chatroom", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXCheckQRCode(WXID, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXQRCodeLogin(WXID, "a17600036518", "62706C6973743030D4010203040506090A582476657273696F6E58246F626A65637473592461726368697665725424746F7012000186A0A2070855246E756C6C5F102065353631656666326463363038356137383831363339653030323732336262335F100F4E534B657965644172636869766572D10B0C54726F6F74800108111A232D32373A406375787D0000000000000101000000000000000D0000000000000000000000000000007F", (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXSyncMsg(WXID, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXSyncContact(WXID, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); //XzyWxApis.WXSyncMessage(WXID, (int)pushStr1); //datas = xzyWeChat.MarshalNativeToManaged((IntPtr)pushStr); //xzyWeChat.Wx_ReleaseEX(ref pushStr); } }