锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品亚洲精品爽爽,国产精品亚洲综合天堂夜夜,亚洲精品无码久久久久久http://m.tkk7.com/TiGERTiAN/category/34125.html----TiGERTiANzh-cnSun, 19 Jun 2011 18:49:31 GMTSun, 19 Jun 2011 18:49:31 GMT60Windows Mobile鑾峰彇鍩虹珯淇℃伅(CellID絳?http://m.tkk7.com/TiGERTiAN/archive/2011/06/19/352623.htmlTiGERTiANTiGERTiANSun, 19 Jun 2011 10:22:00 GMThttp://m.tkk7.com/TiGERTiAN/archive/2011/06/19/352623.htmlhttp://m.tkk7.com/TiGERTiAN/comments/352623.htmlhttp://m.tkk7.com/TiGERTiAN/archive/2011/06/19/352623.html#Feedback0http://m.tkk7.com/TiGERTiAN/comments/commentRss/352623.htmlhttp://m.tkk7.com/TiGERTiAN/services/trackbacks/352623.html

鍦╓indows Mobile鐨勬墜鏈轟笂闈? RIL鎻愪緵浜嗚闂甊adio妯″潡鐨勬帴鍙? 涓嬮潰浠ヤ竴涓畝鍗曠殑紺轟緥璇存槑濡備綍鍦–#涓氳繃RIL鑾峰緱鍩虹珯淇℃伅銆?br />闇瑕佹敞鎰忕殑鏄紝涓嬮潰鐨勪唬鐮佸彲鑳芥棤娉曞湪妯℃嫙鍣ㄤ笂闈㈣繍琛岋紝鍥犱負緙哄皯蹇呰鐨勭被搴擄紝鍦ㄧ湡鏈轟笂娌″暐闂銆?/span>
絎竴姝? 瀹氫箟蹇呰鐨勬暟鎹粨鏋勫拰鍥炶皟鍑芥暟
1. 鍖呭惈鍩虹珯淇℃伅鐨凴ILCELLTOWERINFO綾?br />        public class RILCELLTOWERINFO
        {
            public uint cbSize;
            public uint dwParams;
            public uint dwMobileCountryCode;//涓浗鐨凪CC涓?60
            public uint dwMobileNetworkCode;
            public uint dwLocationAreaCode;
            public uint dwCellID;
            public uint dwBaseStationID;
            public uint dwBroadcastControlChannel;
            public uint dwRxLevel;
            public uint dwRxLevelFull;
            public uint dwRxLevelSub;
            public uint dwRxQuality;
            public uint dwRxQualityFull;
            public uint dwRxQualitySub;
            public uint dwIdleTimeSlot;
            public uint dwTimingAdvance;
            public uint dwGPRSCellID;
            public uint dwGPRSBaseStationID;
            public uint dwNumBCCH;
        }
 
2.鐢ㄤ簬寮傛榪斿洖RIL璋冪敤緇撴灉鐨勫洖璋冨嚱鏁癛ILRESULTCALLBACK
        public delegate void RILRESULTCALLBACK(uint dwCode,
                                               IntPtr hrCmdID,
                                               IntPtr lpData,
                                               uint cbData,
                                               uint dwParam);
 
3.鍦≧IL涓誨姩鍙戝嚭notify鐨勬椂鍊欏洖璋冪殑鎻愰啋鍑芥暟RILNOTIFYCALLBACK
 
        public delegate void RILNOTIFYCALLBACK(uint dwCode,
                                               IntPtr lpData,
                                               uint cbData,
                                               uint dwParam);
娉ㄦ剰錛氳繖涓彁閱掑嚱鏁板悗闈笉浼氱敤鍒幫紝浣嗗畠鏄綔涓哄繀瑕佺殑Native鍑芥暟鐨勫弬鏁幫紝鍦╬invoke鐨勬椂鍊欐槸涓嶅彲緙哄皯鐨?nbsp;
 
絎簩姝? 閫氳繃pinvoke寮曠敤蹇呰鐨凴IL Native鍑芥暟 
RIL_Initialize   錛?RIL_GetCellTowerInfo錛孯IL_Deinitialize
        [DllImport("ril.dll")]
        private static extern IntPtr RIL_Initialize(uint dwIndex,
                                                    RILRESULTCALLBACK pfnResult,
                                                    RILNOTIFYCALLBACK pfnNotify,
                                                    uint dwNotificationClasses,
                                                    uint dwParam,
                                                    out IntPtr lphRil);

        [DllImport("ril.dll")]
        private static extern IntPtr RIL_GetCellTowerInfo(IntPtr hRil);
        [DllImport("ril.dll")]
        private static extern IntPtr RIL_Deinitialize(IntPtr hRil);
 
絎笁姝? 閫氳繃RIL_GetCellTowerInfo鑾峰彇鍩虹珯淇℃伅
1.鍒濆鍖栦竴涓猂IL鐨勫疄渚嬪茍榪斿洖瀹冪殑Handle
            hRes = RIL_Initialize(1,                                        // RIL port 1
                                  new RILRESULTCALLBACK(rilResultCallback), // 榪斿洖璋冪敤緇撴灉鐨勫洖璋冨嚱鏁?br />                                  null,  0, 0,                                      
                                  out hRil);                                //榪斿洖RIL瀹炰緥鐨刪andle
 
2.瀹氫箟鍥炶皟鍑芥暟
        private static AutoResetEvent waithandle = new AutoResetEvent(false);
        public static void rilResultCallback(uint dwCode,
                                             IntPtr hrCmdID,
                                             IntPtr lpData,
                                             uint cbData,
                                             uint dwParam)
        {
            //鏋勯犱竴涓猂ILCELLTOWERINFO綾葷敤浜庡瓨鏀炬暟鎹?br />             rilCellTowerInfo = new RILCELLTOWERINFO();
            Marshal.PtrToStructure(lpData, rilCellTowerInfo);
            //鍥炶皟閫氱煡
            waithandle.Set();}
 
3.璋冪敤RIL_GetCellTowerInfo騫墮噴鏀懼綋鍓峈IL瀹炰緥鐨刪andle
RIL_GetCellTowerInfo(hRil);
            //絳夊緟鍥炶皟鍑芥暟榪斿洖
            waithandle.WaitOne();
            //閲婃斁RIL handle
            RIL_Deinitialize(hRil);
 
緇撴灉涓庡垎鏋愶細
浠ヤ笅鏄湪samsungi718+涓婄殑嫻嬭瘯緇撴灉錛?br />-rilCellTowerInfo 錛?br />  cbSize 2164262660 uint
  dwBaseStationID 706412084 uint
  dwBroadcastControlChannel 0 uint
  dwCellID 0 uint //鍏跺疄榪欓噷鐨刢ellid鍦ㄦ垜鏈哄櫒涓婅幏鍙栦笉鍒幫紝紜疄闈炲父閬楁喚
  dwGPRSBaseStationID 706412084 uint
  dwGPRSCellID 158440 uint
  dwIdleTimeSlot 33993204 uint
  dwLocationAreaCode 706412076 uint
  dwMobileCountryCode 0 uint //榪欎釜MCC涓浗搴旇鏄?60錛屾垜榪欓噷涔熸病鏈夎幏鍙栧埌
  dwMobileNetworkCode 33993204 uint
  dwNumBCCH 706411928 uint
  dwParams 0 uint
  dwRxLevel 4 uint
  dwRxLevelFull 0 uint
  dwRxLevelSub 706412004 uint
  dwRxQuality 706411908 uint
  dwRxQualityFull 158172 uint
  dwRxQualitySub 67853664 uint
  dwTimingAdvance 0 uint
闇瑕佹敞鎰忕殑鏄繖閲岀殑CellTowerInfo鍦ㄥ悇涓満鍨嬩笂闈㈢殑瀹炵幇紼嬪害涓嶄竴鏍鳳紝鏂囦腑鎻愬埌鐨凴IL鐩稿叧鍑芥暟涓ユ牸鏉ヨ鍦╓indows Mobile 涓婇潰閮戒笉鏄繀欏昏瀹炵幇鐨勶紝浣跨敤鏃墮渶鑰冭檻鍒拌繖涓鐐廣?/div>
瀹炵幇浠g爜錛?br />
    public partial class Form1 : Form
    {
        
public Form1()
        {
            InitializeComponent();
        }

        
public delegate void RILRESULTCALLBACK(uint dwCode,
                                            IntPtr hrCmdID,
                                            IntPtr lpData,
                                            
uint cbData,
                                            
uint dwParam);


        
public delegate void RILNOTIFYCALLBACK(uint dwCode,
                                               IntPtr lpData,
                                               
uint cbData,
                                               
uint dwParam);

        [DllImport(
"ril.dll")]
        
private static extern IntPtr RIL_Initialize(uint dwIndex,
                                                    RILRESULTCALLBACK pfnResult,
                                                    RILNOTIFYCALLBACK pfnNotify,
                                                    
uint dwNotificationClasses,
                                                    
uint dwParam,
                                                    
out IntPtr lphRil);
        [DllImport(
"ril.dll")]
        
private static extern IntPtr RIL_GetCellTowerInfo(IntPtr hRil);
        [DllImport(
"ril.dll")]
        
private static extern IntPtr RIL_Deinitialize(IntPtr hRil);

        
private static AutoResetEvent waithandle = new AutoResetEvent(false);
        
private static RILCELLTOWERINFO rilCellTowerInfo;
        
private IntPtr hRes;
        
private IntPtr hRil;
        
public static void rilResultCallback(uint dwCode,
                                             IntPtr hrCmdID,
                                             IntPtr lpData,
                                             
uint cbData,
                                             
uint dwParam)
        {
            
//鏋勯犱竴涓猂ILCELLTOWERINFO綾葷敤浜庡瓨鏀炬暟鎹?/span>
            rilCellTowerInfo = new RILCELLTOWERINFO();
            Marshal.PtrToStructure(lpData, rilCellTowerInfo);
            
//鍥炶皟閫氱煡
            waithandle.Set();
        }
 
 

        
private void button1_Click(object sender, EventArgs e)
        {
            hRes 
= RIL_Initialize(1,                                        // RIL port 1
                                 new RILRESULTCALLBACK(rilResultCallback), // 榪斿洖璋冪敤緇撴灉鐨勫洖璋冨嚱鏁?/span>
                                 null00,
                                 
out hRil);    
            
//榪斿洖RIL瀹炰緥鐨刪andle
            RIL_GetCellTowerInfo(hRil);
            
//絳夊緟鍥炶皟鍑芥暟榪斿洖
            waithandle.WaitOne();
            
//閲婃斁RIL handle
            RIL_Deinitialize(hRil);

        }
    }

    
public class RILCELLTOWERINFO
    {
        
public uint cbSize;
        
public uint dwParams;
        
public uint dwMobileCountryCode;//涓浗鐨凪CC涓?60
        public uint dwMobileNetworkCode;
        
public uint dwLocationAreaCode;
        
public uint dwCellID;
        
public uint dwBaseStationID;
        
public uint dwBroadcastControlChannel;
        
public uint dwRxLevel;
        
public uint dwRxLevelFull;
        
public uint dwRxLevelSub;
        
public uint dwRxQuality;
        
public uint dwRxQualityFull;
        
public uint dwRxQualitySub;
        
public uint dwIdleTimeSlot;
        
public uint dwTimingAdvance;
        
public uint dwGPRSCellID;
        
public uint dwGPRSBaseStationID;
        
public uint dwNumBCCH;
    }


TiGERTiAN 2011-06-19 18:22 鍙戣〃璇勮
]]>鎵嬫満嫻佸獟浣撴妧鏈畝浠?/title><link>http://m.tkk7.com/TiGERTiAN/archive/2010/03/27/316693.html</link><dc:creator>TiGERTiAN</dc:creator><author>TiGERTiAN</author><pubDate>Sat, 27 Mar 2010 07:11:00 GMT</pubDate><guid>http://m.tkk7.com/TiGERTiAN/archive/2010/03/27/316693.html</guid><wfw:comment>http://m.tkk7.com/TiGERTiAN/comments/316693.html</wfw:comment><comments>http://m.tkk7.com/TiGERTiAN/archive/2010/03/27/316693.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/TiGERTiAN/comments/commentRss/316693.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/TiGERTiAN/services/trackbacks/316693.html</trackback:ping><description><![CDATA[<p>鍘熸枃鍦板潃: <a >http://blog.csdn.net/marsgongna/archive/2008/12/04/3442247.aspx</a></p> <p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">鎵嬫満浣滀負浜轟滑蹇呭鐨勭Щ鍔ㄩ氫俊宸ュ叿錛岀洰鍓嶅湪鍏ㄧ悆宸茬粡鏈夎秴榪?/span><font face="Times New Roman">10</font><span style="font-family: 瀹嬩綋">浜跨殑鐢ㄦ埛錛屽叾鏁伴噺榪樺湪涓嶆柇鍦板闀褲傞殢鐫縐誨姩澶氬獟浣撴椂浠g殑鍒版潵錛岀敤鎵嬫満鐪嬬數瑙嗭紝鐢ㄦ墜鏈虹湅鐢靛獎錛岀敤鎵嬫満鍚煶涔愮瓑浣跨敤縐誨姩嫻佸獟浣撴妧鏈殑搴旂敤錛屽凡緇忓湪涓浗榪呴熷彂灞曡搗鏉ャ?/span></p> <p style="text-indent: 21pt; margin: 7.8pt 0cm" class="MsoNormal"><strong><span style="font-family: 瀹嬩綋">涓銆佷粈涔堟槸嫻佸獟浣撴妧鏈紵</span></strong></p> <p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">嫻佸獟浣撴妧鏈槸浠庝簰鑱旂綉涓婂彂灞曡搗鏉ョ殑涓縐嶄紶閫佸濯掍綋鏁版嵁嫻佺殑鎶鏈紝鍏朵富瑕佺壒鐐規槸浠ユ祦錛?/span><font face="Times New Roman">streaming</font><span style="font-family: 瀹嬩綋">錛夌殑褰㈠紡榪涜澶氬獟浣撴暟鎹殑浼犺緭銆傞噰鐢ㄦ祦濯掍綋鎶鏈殑瀹㈡埛绔挱鏀懼櫒鍦ㄦ挱鏀句竴涓濯掍綋鍐呭涔嬪墠錛岄鍏堜笅杞藉獟浣撳唴瀹圭殑涓閮ㄥ垎浣滀負緙撳瓨錛屽湪灝嗙紦瀛樹腑鐨勮繖閮ㄥ垎鍐呭鍚戠敤鎴鋒挱鏀劇殑榪囩▼褰撲腑錛岃澶氬獟浣撳唴瀹圭殑鍓╀綑閮ㄥ垎灝嗗湪鍚庡彴浠庢湇鍔″櫒緇х畫涓嬭澆鍒板鎴風鎾斁鍣ㄤ笂銆傝繖鏍鳳紝涓杈瑰鎴風鎾斁鍣ㄥ湪涓嶆柇鎾斁緙撳啿鍖轟腑鐨勫濯掍綋鍐呭錛屽彟涓杈瑰濯掍綋鍐呭鐨勫叾浠栭儴鍒嗕粠鍚庡彴鏈嶅姟鍣ㄤ笉鏂湴浼犺緭鍒扮紦鍐插尯涓紝榪欐牱灝卞疄鐜頒簡鎵璋?#8220;杈逛笅杞斤紝杈規挱鏀?#8221;嫻佸紡鎾斁銆?/span></p> <p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">嫻佸獟浣撴妧鏈簲鐢ㄥ埌縐誨姩緗戠粶鍜岀粓绔笂錛岀О涔嬩負縐誨姩嫻佸獟浣撴妧鏈備粠涓婇潰鎵榪版垜浠彲浠ョ湅鍒幫紝縐誨姩嫻佸獟浣撴妧鏈叿鏈変笁涓獊鍑虹壒鐐癸細錛?/span><font face="Times New Roman">1</font><span style="font-family: 瀹嬩綋">錛夎兘澶熷疄鏃舵挱鏀捐闊抽絳夊濯掍綋鍐呭錛屼篃鍙互瀵瑰濯掍綋鍐呭榪涜鐐規挱錛屽叿鏈変氦浜掓с傚彲浠ヨ鐢ㄦ埛鎽嗚劚琚姩鎺ュ彈鍐呭鐨勮嫤鎭鹼紝鑰岀伒媧昏嚜涓匯侀殢鏃墮殢鍦板湴閫夋嫨鑷繁鎯寵鐪嬬殑鍐呭錛屼粠鑰屾洿鍔犱釜鎬у寲銆傦紙</span><font face="Times New Roman">2</font><span style="font-family: 瀹嬩綋">錛夋挱鏀劇殑嫻佸獟浣撴枃浠朵笉闇瑕佸湪瀹㈡埛绔繚瀛橈紝鍑忓皯浜嗗瀹㈡埛绔瓨鍌ㄧ┖闂寸殑瑕佹眰錛屼篃鍑忓皯浜嗙紦瀛樺閲忕殑闇姹傘傦紙</span><font face="Times New Roman">3</font><span style="font-family: 瀹嬩綋">錛夌敱浜庢祦濯掍綋鏂囦歡涓嶅湪瀹㈡埛绔繚瀛橈紝浠庤屼粠涓瀹氱▼搴︿笂瑙e喅浜嗗獟浣撴枃浠剁殑鐗堟潈淇濇姢闂銆?/span></p> <p style="text-indent: 21pt; margin: 7.8pt 0cm" class="MsoNormal"><strong><span style="font-family: 瀹嬩綋">浜屻佹墜鏈烘挱鏀炬祦濯掍綋鏂囦歡鐨勫熀鏈姹?/span></strong></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">錛堜竴錛夋墜鏈烘搷浣滅郴緇?/span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">鐩墠錛屾櫤鑳芥墜鏈虹殑鎿嶄綔緋葷粺涓昏鏈?/span><font face="Times New Roman">Symbian</font><span style="font-family: 瀹嬩綋">銆?/span><font face="Times New Roman">Windows Mobile</font><span style="font-family: 瀹嬩綋">銆?/span><font face="Times New Roman">Palm</font><span style="font-family: 瀹嬩綋">銆?/span><font face="Times New Roman">Linux</font><span style="font-family: 瀹嬩綋">銆傚叾涓?/span><font face="Times New Roman">Symbian</font><span style="font-family: 瀹嬩綋">銆佸拰</span><font face="Times New Roman">Windows Mobile</font><span style="font-family: 瀹嬩綋">緋葷粺鐨勪嬌鐢ㄥ崰鎹簡澶у鏁般?/span><font face="Times New Roman"> Palm</font><span style="font-family: 瀹嬩綋">鐨勪喚棰濅富瑕佹潵鑷畠鐨?/span><font face="Times New Roman">PDA</font><span style="font-family: 瀹嬩綋">鏀寔銆?/span></p> <p style="text-indent: -18pt; margin: 0cm 0cm 0pt 39pt; tab-stops: list 39.0pt" class="MsoNormal"><font face="Times New Roman">1銆丼ymbian</font><span style="font-family: 瀹嬩綋">鎿嶄綔緋葷粺</span></p> <p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><font face="Times New Roman">Symbian</font><span style="font-family: 瀹嬩綋">鏄鍩轟簹銆佹懇鎵樼綏鎷夈佺儲灝肩埍绔嬩俊絳夊嚑瀹剁數淇″法澶磋仈鍚堝紑鍙戠殑鎿嶄綔緋葷粺錛屾嵁緇熻錛屼嬌鐢?/span><font face="Times New Roman">Symbian</font><span style="font-family: 瀹嬩綋">騫沖彴鐨勬櫤鑳芥墜鏈哄崰鎹?/span><font face="Times New Roman">70%</font><span style="font-family: 瀹嬩綋">銆傝鎿嶄綔緋葷粺浠ュ崰鐢ㄨ祫婧愬皬銆佸紜歡瑕佹眰浣庛佺涓夋柟杞歡鏀寔騫挎硾絳変紭鍔匡紝鎴愪負鐩墠鏅鴻兘鎵嬫満甯傚満涓婂簲鐢ㄦ渶涓哄箍娉涚殑浜у搧錛?/span><font face="Times New Roman">Symbian</font><span style="font-family: 瀹嬩綋">鎿嶄綔緋葷粺涓嬩富瑕佷嬌鐢?/span><font face="Times New Roman">S60</font><span style="font-family: 瀹嬩綋">銆?/span><font face="Times New Roman">UIQ</font><span style="font-family: 瀹嬩綋">銆?/span><font face="Times New Roman">S90</font><span style="font-family: 瀹嬩綋">榪欎笁縐嶆搷浣滃鉤鍙般?/span></p> <p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">錛?/span><font face="Times New Roman">1</font><span style="font-family: 瀹嬩綋">錛?/span><font face="Times New Roman">Series S60</font><span style="font-family: 瀹嬩綋">錛?/span><font face="Times New Roman">S60</font><span style="font-family: 瀹嬩綋">鎿嶄綔騫沖彴鍏峰浜?/span><font face="Times New Roman">Symbian OS</font><span style="font-family: 瀹嬩綋">鎿嶄綔緋葷粺鎿嶄綔鐨勭畝鏄撴э紝鏀寔</span><font face="Times New Roman">KJAVA</font><span style="font-family: 瀹嬩綋">鍜?/span><font face="Times New Roman">C++</font><span style="font-family: 瀹嬩綋">寮鍙戠殑閽堝鍗曟墜浣跨敤鐨勮璁★紝鏀寔鐨勫睆騫曞垎杈ㄧ巼涓?/span><font face="Times New Roman">176*208</font><span style="font-family: 瀹嬩綋">璞$礌銆?/span><font face="Times New Roman">S60</font><span style="font-family: 瀹嬩綋">鐣岄潰鏄嫢鏈夋渶澶氱涓夋柟杞歡錛堟父鎴忥級鐨勭晫闈紝鏄洰鍓?/span><font face="Times New Roman">Symbian</font><span style="font-family: 瀹嬩綋">緋葷粺涓嬌鐢ㄦ渶騫挎硾鐨勭増鏈備富瑕佹敮鎸佺殑鎵嬫満浠ヨ鍩轟簹</span><font face="Times New Roman">7650</font><span style="font-family: 瀹嬩綋">銆?/span><font face="Times New Roman">7610</font><span style="font-family: 瀹嬩綋">銆?/span><font face="Times New Roman">6260</font><span style="font-family: 瀹嬩綋">絳夋渶涓哄吀鍨嬨?/span></p> <p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">錛?/span><font face="Times New Roman">2</font><span style="font-family: 瀹嬩綋">錛?/span><font face="Times New Roman">UIQ Series</font><span style="font-family: 瀹嬩綋">錛?/span><font face="Times New Roman">UIQ Series</font><span style="font-family: 瀹嬩綋">鎿嶄綔騫沖彴鐨勭壒鎬т富瑕佽〃鐜板湪瀹冪殑澶氬獟浣撳拰鍔熻兘鍏ㄩ潰鐨勭壒鎬с?/span><font face="Times New Roman">UIQ Series</font><span style="font-family: 瀹嬩綋">鏄?/span><font face="Times New Roman">Symbian OS </font><span style="font-family: 瀹嬩綋">鐨勭郴緇熸灦鏋勪笅錛屼笓闂ㄤ負楂樼澶氬獟浣撴墜鏈鴻岃璁★紝鍙敮鎸佹墜鍐欐搷浣滐紝浣跨敤璧鋒潵闈炲父綾諱技</span><font face="Times New Roman"> PDA </font><span style="font-family: 瀹嬩綋">鎿嶄綔錛岄傜敤浜虹兢涓昏瀹氫綅鍦ㄩ珮绔晢鍔$敤鎴楓備富瑕佸簲鐢ㄦ湁绱㈢埍</span><font face="Times New Roman">P</font><span style="font-family: 瀹嬩綋">緋誨垪浠ュ強璇哄熀浜?/span><font face="Times New Roman">6708</font><span style="font-family: 瀹嬩綋">鍙?/span><font face="Times New Roman">BENQ P30</font><span style="font-family: 瀹嬩綋">絳夈?/span></p> <p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">錛?/span><font face="Times New Roman">3</font><span style="font-family: 瀹嬩綋">錛?/span><font face="Times New Roman">Series S90</font><span style="font-family: 瀹嬩綋">錛?/span><font face="Times New Roman">Series90</font><span style="font-family: 瀹嬩綋">鏄?/span><font face="Times New Roman">Symbian</font><span style="font-family: 瀹嬩綋">騫沖彴涓婃渶騫磋交鐨勭晫闈紝鏀規墜鎸佽Е鎽鎬負鎿嶆帶妯″紡錛屽垎杈ㄧ巼楂樿揪</span><font face="Times New Roman">640*320</font><span style="font-family: 瀹嬩綋">鍍忕礌銆備絾鐩墠鏀寔</span><font face="Times New Roman">Series 90</font><span style="font-family: 瀹嬩綋">鐨勫彧鏈夎鍩轟簹</span><font face="Times New Roman">7700</font><span style="font-family: 瀹嬩綋">錛堟湭鎶曚駭涓婂競錛夊拰</span><font face="Times New Roman">7710</font><span style="font-family: 瀹嬩綋">涓ゆ鎵嬫満錛屾洿澶氱涓夋柟杞歡鐨勬敮鎸佸皻闇涓瀹氭椂鏃ャ?/span></p> <p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><font face="Times New Roman">2</font><span style="font-family: 瀹嬩綋">銆?/span><font face="Times New Roman">Windows Mobile</font><span style="font-family: 瀹嬩綋">鎿嶄綔緋葷粺</span></p> <p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">錛?/span><font face="Times New Roman">1</font><span style="font-family: 瀹嬩綋">錛?/span><font face="Times New Roman">Pocket PC Phone</font><span style="font-family: 瀹嬩綋">緋葷粺錛?/span><font face="Times New Roman">Pocket PC</font><span style="font-family: 瀹嬩綋">鏄竴縐嶆墜鎸佽澶囷紝鍙府鍔╀嬌鐢ㄨ呭瓨鍌ㄥ茍媯绱㈢數瀛愰偖浠躲佽仈緋諱漢鍜岀害浼氫俊鎭紝鎾斁澶氬獟浣撴枃浠訛紝鐜╄祻鐢靛瓙娓告垙錛屽熷姪</span><font face="Times New Roman">MSN Messenger</font><span style="font-family: 瀹嬩綋">浜ゆ崲鏂囨湰娑堟伅錛屾祻瑙?/span><font face="Times New Roman">Web</font><span style="font-family: 瀹嬩綋">鍐呭絳夈備富瑕侀傜敤鏈哄瀷鏈?/span><font face="Times New Roman">BENQ</font><span style="font-family: 瀹嬩綋">鐨?/span><font face="Times New Roman">P50</font><span style="font-family: 瀹嬩綋">浠ュ強澶氭櫘杈?/span><font face="Times New Roman">696</font><span style="font-family: 瀹嬩綋">銆?/span><font face="Times New Roman">818</font><span style="font-family: 瀹嬩綋">銆?/span><font face="Times New Roman">828</font><span style="font-family: 瀹嬩綋">絳夋満鍨嬨?/span></p> <p style="text-indent: 21pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">錛?/span><font face="Times New Roman">2</font><span style="font-family: 瀹嬩綋">錛?/span><font face="Times New Roman">Smartphone </font><span style="font-family: 瀹嬩綋">緋葷粺錛氬悓鏄井杞叕鍙擱棬涓嬬殑浜у搧錛屾搷浣滅晫闈㈠拰</span><font face="Times New Roman">WINDOWS</font><span style="font-family: 瀹嬩綋">闈炲父鐩鎬技錛屾敞閲嶇Щ鍔ㄤ簰鑱斿拰濞變箰鍔熻兘銆傛病鏈夎Е鎺х瑪鍜岃Е鎽稿睆錛屼綋鐜板崟鎵嬫搷鎺х殑鐞嗗康錛屽叏浠ユ暟瀛楅敭鐩樹唬鏇褲傞傜敤鏈哄瀷鏈夊鏅揪鐨?/span><font face="Times New Roman">5</font><span style="font-family: 瀹嬩綋">緋誨垪鎵嬫満銆?/span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">錛堜簩錛変笅杞藉畨瑁呯粓绔挱鏀懼櫒</span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">瀵規墍鏈夋搷浣滅郴緇熷強鍏朵笉鍚岀増鏈兘瀹炵幇閫傞厤鐨勬挱鏀懼櫒鏄笉瀛樺湪鐨勶紝鍩轟簬鎴愭湰銆佸紑鍙戝懆鏈熷強鍏跺畠鍥犵礌鐨勮冭檻錛屽睘絎笁鏂硅蔣浠剁殑嫻佸獟浣撴挱鏀懼櫒澶ч儴鍒嗛兘鍙槸鍩轟簬浠ヤ笂鎿嶄綔緋葷粺瀹炵幇鐨勩?/span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">閫氳繃</span><font face="Times New Roman">WAP</font><span style="font-family: 瀹嬩綋">緗戠珯錛屽叿澶囦笂榪版搷浣滅郴緇熺殑鍚勫瀷鍙鋒墜鏈猴紝鍙互鐩存帴鍖歸厤鍒伴傚悎鐨勬祦濯掍綋鎾斁鍣ㄣ備竴鑸湪涓嬭澆鍚庝細鐩存帴榪涘叆鍒版挱鏀懼櫒紼嬪簭鐨勫畨瑁呰繃紼嬶紝鏍規嵁緋葷粺鎻愮ず瀹屾垚瀹夎鍚庯紝灝卞彲浠ラ殢鏃躲侀殢鍦頒韓鍙楃Щ鍔ㄦ祦濯掍綋鏈嶅姟浜嗐?/span></p> <p style="text-indent: 21pt; margin: 7.8pt 0cm" class="MsoNormal"><strong><span style="font-family: 瀹嬩綋">涓夈佹墜鏈烘挱鏀炬祦濯掍綋鏂囦歡鐨勪竴鑸妧鏈繃紼?/span></strong></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">錛堜竴錛?/span><font face="Times New Roman">3GPP</font><span style="font-family: 瀹嬩綋">鏍囧噯涓殑</span><span style="font-family: 瀹嬩綋">鍗忚鏍?/span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">涓昏鍖呮嫭浠ヤ笅鍑犵錛?/span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">·</span><font face="Times New Roman">RTP</font><span style="font-family: 瀹嬩綋">錛堝疄鏃朵紶杈撳崗璁級錛?/span><font face="Times New Roman">RTP</font><span style="font-family: 瀹嬩綋">琚畾涔変負鍦ㄤ竴瀵逛竴鎴栦竴瀵瑰鐨勪紶杈撴儏鍐典笅宸ヤ綔錛屽叾鐩殑鏄彁渚涙椂闂翠俊鎭拰瀹炵幇嫻佸悓姝ワ紝渚嬪錛氶煶棰戙佽棰戞垨妯℃嫙鏁版嵁銆?/span><font face="Times New Roman">RTP</font><span style="font-family: 瀹嬩綋">涓嶅鐞嗚祫婧愰瀹氾紝騫朵笖涓嶄繚璇佸疄鏃舵湇鍔$殑鏈嶅姟璐ㄩ噺錛岄氬父浣跨敤</span><font face="Times New Roman">UDP</font><span style="font-family: 瀹嬩綋">鏉ヤ紶閫佹暟鎹?/span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">·</span><font face="Times New Roman">RTCP</font><span style="font-family: 瀹嬩綋">錛堝疄鏃舵帶鍒跺崗璁級錛?/span><font face="Times New Roman">RTCP</font><span style="font-family: 瀹嬩綋">鐨勪富瑕佸姛鑳芥槸涓烘暟鎹殑浼犻佹儏鍐墊彁渚涘弽棣堛傛帴鏀剁瀹氭湡灝嗘姤鍛婁俊鎭彂閫佺粰鍙戦佺錛堟姤鍛婁俊鎭寘鎷細鎺ユ敹绔祴閲忓埌浼犺緭榪囩▼涓殑涓嶇ǔ瀹氭儏鍐靛拰淇℃伅鍖呬涪澶辯殑鏁伴噺錛夈?/span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">·</span><font face="Times New Roman">RTSP</font><span style="font-family: 瀹嬩綋">錛堝疄鏃舵祦鍗忚錛夛細</span><font face="Times New Roman">RTSP</font><span style="font-family: 瀹嬩綋">琚敤浜庡緩绔嬪拰鎺у埗榪炵畫濯掍綋鐨勬椂闂村悓姝ユ祦銆傚畠涓哄濯掍綋鏈嶅姟鎵紨“緗戠粶榪滅▼鎺у埗”鐨勮鑹層?/span><font face="Times New Roman">RTSP</font><span style="font-family: 瀹嬩綋">鏄枃鏈崗璁茍涓旂被浼?/span><font face="Times New Roman">HTTP</font><span style="font-family: 瀹嬩綋">錛屽叾涓昏涓嶅悓涔嬪鍦ㄤ簬</span><font face="Times New Roman">RTSP</font><span style="font-family: 瀹嬩綋">鏄爣鍑嗙殑嫻佸獟浣撳崗璁紝騫墮氬父鍒╃敤鐙珛浼犺緭鍗忚錛堥氬父鏄?/span><font face="Times New Roman">RTP</font><span style="font-family: 瀹嬩綋">錛夋潵浼犺緭濯掍綋鏁版嵁銆?/span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">·</span><font face="Times New Roman">SDP</font><span style="font-family: 瀹嬩綋">錛堜細璇濇弿榪板崗璁級錛?/span><span style="font-family: 瀹嬩綋; font-size: 12pt">SDP</span><span style="font-family: 瀹嬩綋">鏄湇鍔″櫒绔敓鎴愮殑鎻忚堪濯掍綋鏂囦歡鐨勭紪鐮佷俊鎭互鍙婃墍鍦ㄧ殑鏈嶅姟鍣ㄧ殑閾炬帴絳変俊鎭紝瀹㈡埛绔氳繃瀹冩潵閰嶇疆鎾斁杞歡鐨勮緗傚畠鏄竴涓畝鍗曘佸彲鎵╁睍璇硶鐨勬枃鏈崗璁?/span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">鎵鏈夎繖浜涙祦濯掍綋鐩稿叧鍗?/span><span style="font-family: 瀹嬩綋">璁兘鏄埄鐢?/span><font face="Times New Roman">TCP</font><span style="font-family: 瀹嬩綋">鍜?/span><font face="Times New Roman">UDP</font><span style="font-family: 瀹嬩綋">浼犻併傚叾涓紝</span><font face="Times New Roman">RTSP</font><span style="font-family: 瀹嬩綋">鏄富瑕佺殑鍗忚錛屽湪浣撶郴緇撴瀯涓婁綅浜?/span><font face="Times New Roman">RTP</font><span style="font-family: 瀹嬩綋">銆?/span><font face="Times New Roman">RTCP</font><span style="font-family: 瀹嬩綋">涔嬩笂錛屽睘浜庡簲鐢ㄥ眰鍗忚錛岃鐢ㄤ簬寤虹珛鍜屾帶鍒惰繛緇獟浣撶殑鏃墮棿鍚屾嫻併傚畠涓哄濯掍綋鏈嶅姟鎵紨“緗戠粶榪滅▼鎺у埗”鐨勮鑹層?/span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">錛堜簩錛?/span><font face="Times New Roman">RTSP</font><span style="font-family: 瀹嬩綋">鍗曟挱鎿嶄綔鐨勮繃紼嬫弿榪?/span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">涓嬈″熀鏈殑</span><font face="Times New Roman">RTSP</font><span style="font-family: 瀹嬩綋">鍗曟挱鎿嶄綔錛屽叾瀹炲氨鏄敤鎴鋒挱鏀句竴涓祦濯掍綋鑺傜洰鐨勮繃紼嬨傞鍏堬紝瀹㈡埛绔氳繃嫻忚涓涓甫</span><font face="Times New Roman">RTSP URL</font><span style="font-family: 瀹嬩綋">鍦板潃鐨勭綉欏電瓑鏂規硶鏉ヨ幏寰楀獟浣撶墖孌電殑浣嶇疆銆傚湪嫻佸獟浣撲細璇濆垵濮嬪寲鐨勬椂鍊欙紝嫻佸獟浣撴挱鏀懼櫒榪炴帴鍒版祦鏈嶅姟鍣ㄥ茍鍙戦佷竴涓?/span><font face="Times New Roman">RTSP</font><span style="font-family: 瀹嬩綋">鎻忚堪鍛戒護銆傝繖涓?#8220;鎻忚堪鍛戒護”鍖呮嫭浜嗗鎴風鍙互鍙戦佺殑綾諱技闊抽淇¢亾鐨勬暟閲忋佹敮鎸佺殑濯掍綋綾誨瀷銆佸睆騫曞昂瀵稿ぇ灝忓拰騫沖潎璞$礌絳変俊鎭傛祦鏈嶅姟鍣ㄩ氳繃涓涓?/span><font face="Times New Roman">SDP</font><span style="font-family: 瀹嬩綋">鎻忚堪鏉ヨ繘琛屽弽棣堬紝鍙嶉淇℃伅鍖呮嫭嫻佹暟閲忋佸獟浣撶被鍨嬪拰璇鋒眰甯﹀銆傚湪鍒嗘瀽瀹岃鎻忚堪涔嬪悗錛屽鎴風涓轟細璇濅腑鐨勬瘡涓涓祦鍙戦佷竴涓?/span><font face="Times New Roman">RTSP</font><span style="font-family: 瀹嬩綋">瀹夎鍛戒護錛屽畨瑁呭懡浠ゅ憡璇夋湇鍔″櫒鍦ㄥ鎴風鐢ㄤ簬鎺ユ敹濯掍綋鏁版嵁鐨勭鍙c傛祦濯掍綋榪炴帴寤虹珛瀹屾垚鍚庯紝瀹㈡埛绔彂閫佷竴涓挱鏀懼懡浠わ紝鏈嶅姟鍣ㄥ氨寮濮嬪湪</span><font face="Times New Roman">UDP</font><span style="font-family: 瀹嬩綋">涓婁紶閫佸獟浣撴祦錛?/span><font face="Times New Roman">RTP</font><span style="font-family: 瀹嬩綋">鍖咃級鍒板鎴風銆傛渶鍚庯紝瀹㈡埛绔彲鍙戦佷竴涓粓姝㈠懡浠ゆ潵緇撴潫嫻佸獟浣撲細璇濄?/span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">錛堜笁錛夌敤鎴蜂粠鎵嬫満涓婄湅鍒扮殑嫻佺▼</span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">涓婅堪</span><font face="Times New Roman">RTSP</font><span style="font-family: 瀹嬩綋">鎿嶄綔榪囩▼瀵圭敤鎴鋒槸閫忔槑鐨勩傜敤鎴蜂粠鎵嬫満涓婄湅鍒扮殑鍙槸錛氬綋浠栭氳繃</span><font face="Times New Roman">WAP</font><span style="font-family: 瀹嬩綋">緗戠珯閫夋嫨鎾斁涓涓妭鐩悗錛屾墜鏈烘搷浣滅郴緇熻嚜鍔ㄥ惎鍔ㄤ簡宸插畨瑁呯殑鎾斁鍣紝鎾斁鍣ㄩ氳繃</span><font face="Times New Roman">GPRS</font><span style="font-family: 瀹嬩綋">緗戠粶榪炴帴鍒板獟浣撴湇鍔″櫒錛屽茍寮濮嬬紦鍐詫紝浠栧彧闇鍦ㄧ紦鍐插埌</span><font face="Times New Roman">100%</font><span style="font-family: 瀹嬩綋">鍓嶇殑浠諱綍鏃跺埢鐐瑰嚮“鎾斁”鎸夐挳錛屾垨絳夊緟緙撳啿鍒?/span><font face="Times New Roman">100%</font><span style="font-family: 瀹嬩綋">鏃舵挱鏀懼櫒鑷姩鎾斁錛屽氨鍙互寮濮嬫璧忛煶瑙嗛鑺傜洰銆?/span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><font face="Times New Roman"> </font></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">縐誨姩嫻佸獟浣撴妧鏈殑搴旂敤寮鍒涗簡鏃犵嚎閫氫俊緗戠粶涓庝簰鑱旂綉銆佽闊抽鍘嬬緝緙栫爜鎶鏈浉铻嶅悎鐨勬柊鏃朵唬錛岄殢鐫鎵嬫満銆?/span><font face="Times New Roman">PDA</font><span style="font-family: 瀹嬩綋">絳夌Щ鍔ㄧ粓绔駭鍝佸姛鑳界殑涓嶆柇鎻愬崌錛岀Щ鍔ㄦ祦濯掍綋鎶鏈繀灝嗗甫緇欎漢浠洿澶氥佹洿濂界殑闊寵棰戜綋楠屻?/span></p> <p style="text-indent: 21.75pt; margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋">(姝ゆ枃瀹屾垚浜?006騫?鏈?</span></p> <img src ="http://m.tkk7.com/TiGERTiAN/aggbug/316693.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/TiGERTiAN/" target="_blank">TiGERTiAN</a> 2010-03-27 15:11 <a href="http://m.tkk7.com/TiGERTiAN/archive/2010/03/27/316693.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Windows Mobile鎿嶄綔钃濈墮鎵撳嵃鏈?/title><link>http://m.tkk7.com/TiGERTiAN/archive/2010/03/23/316367.html</link><dc:creator>TiGERTiAN</dc:creator><author>TiGERTiAN</author><pubDate>Tue, 23 Mar 2010 13:47:00 GMT</pubDate><guid>http://m.tkk7.com/TiGERTiAN/archive/2010/03/23/316367.html</guid><wfw:comment>http://m.tkk7.com/TiGERTiAN/comments/316367.html</wfw:comment><comments>http://m.tkk7.com/TiGERTiAN/archive/2010/03/23/316367.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/TiGERTiAN/comments/commentRss/316367.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/TiGERTiAN/services/trackbacks/316367.html</trackback:ping><description><![CDATA[<span style="color: #0000ff">using</span><span style="color: #000000"> System;<br /> </span><span style="color: #0000ff">using</span><span style="color: #000000"> System.Collections.Generic;<br /> </span><span style="color: #0000ff">using</span><span style="color: #000000"> System.Text;<br /> </span><span style="color: #0000ff">using</span><span style="color: #000000"> System.IO;<br /> </span><span style="color: #0000ff">using</span><span style="color: #000000"> System.IO.Ports;<br /> <br /> </span><span style="color: #0000ff">namespace</span><span style="color: #000000"> BluetoothTest<br /> {<br />     </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> Printer<br />     {<br />         SerialPort server </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> SerialPort();<br />         </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">string</span><span style="color: #000000"> _portName </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800000">"</span><span style="color: #800000">COM6</span><span style="color: #800000">"</span><span style="color: #000000">;</span><span style="color: #008000">//</span><span style="color: #008000">钃濈墮涓鑸粯璁や負com6</span><span style="color: #008000"><br /> </span><span style="color: #000000"><br /> <br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><summary></span><span style="color: #008000"><br />         </span><span style="color: #808080">///</span><span style="color: #008000"> 鑾峰彇鎴栬緗鍙e悕縐?br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"></summary></span><span style="color: #808080"><br /> </span><span style="color: #000000">        </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">string</span><span style="color: #000000"> PortName<br />         {<br />             </span><span style="color: #0000ff">get</span><span style="color: #000000"> <br />             {<br />                 _portName </span><span style="color: #000000">=</span><span style="color: #000000"> server.PortName;<br />                 </span><span style="color: #0000ff">return</span><span style="color: #000000"> _portName; <br />             }<br />             </span><span style="color: #0000ff">set</span><span style="color: #000000"> <br />             {<br />                 _portName </span><span style="color: #000000">=</span><span style="color: #000000"> value;<br />                 server.PortName </span><span style="color: #000000">=</span><span style="color: #000000"> _portName;<br />             }<br />         }<br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><summary></span><span style="color: #008000"><br />         </span><span style="color: #808080">///</span><span style="color: #008000"> 绔彛鏄惁宸茬粡鎵撳紑<br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"></summary></span><span style="color: #808080"><br /> </span><span style="color: #000000">        </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">bool</span><span style="color: #000000"> IsOpen<br />         {<br />             </span><span style="color: #0000ff">get</span><span style="color: #000000"> <br />             {<br />                 </span><span style="color: #0000ff">return</span><span style="color: #000000"> server.IsOpen;<br />             }<br />         }<br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><summary></span><span style="color: #008000"><br />         </span><span style="color: #808080">///</span><span style="color: #008000"> 鏋勯犳柟娉曞垵濮嬪寲涓插彛鍙傛暟<br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"></summary></span><span style="color: #808080"><br /> </span><span style="color: #000000">        </span><span style="color: #0000ff">public</span><span style="color: #000000"> Printer()<br />         {</span><span style="color: #008000">//</span><span style="color: #008000">鍒濆鍖栧悇涓弬鏁?/span><span style="color: #008000"><br /> </span><span style="color: #000000">            server.BaudRate </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">9600</span><span style="color: #000000">;</span><span style="color: #008000">//</span><span style="color: #008000">娉㈢壒鐜?/span><span style="color: #008000"><br /> </span><span style="color: #000000">            server.Parity </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">0</span><span style="color: #000000">;</span><span style="color: #008000">//</span><span style="color: #008000">鏍℃浣?/span><span style="color: #008000"><br /> </span><span style="color: #000000">            server.DataBits </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">8</span><span style="color: #000000">;</span><span style="color: #008000">//</span><span style="color: #008000">鏁版嵁浣?/span><span style="color: #008000"><br /> </span><span style="color: #000000">            server.StopBits </span><span style="color: #000000">=</span><span style="color: #000000"> StopBits.One;</span><span style="color: #008000">//</span><span style="color: #008000">鍋滄浣?/span><span style="color: #008000"><br /> </span><span style="color: #000000">            server.PortName </span><span style="color: #000000">=</span><span style="color: #000000"> _portName;</span><span style="color: #008000">//</span><span style="color: #008000">绔彛鍚嶇О</span><span style="color: #008000"><br /> </span><span style="color: #000000">            server.WriteTimeout </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">-</span><span style="color: #800080">1</span><span style="color: #000000">;</span><span style="color: #008000">//</span><span style="color: #008000">瓚呮椂鏃墮棿</span><span style="color: #008000"><br /> </span><span style="color: #000000">            server.ReadTimeout </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">-</span><span style="color: #800080">1</span><span style="color: #000000">;</span><span style="color: #008000">//</span><span style="color: #008000">瓚呮椂鏃墮棿</span><span style="color: #008000"><br /> </span><span style="color: #000000">        }<br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><summary></span><span style="color: #008000"><br />         </span><span style="color: #808080">///</span><span style="color: #008000"> 鎵撳紑绔彛<br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"></summary></span><span style="color: #008000"><br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><returns></returns></span><span style="color: #808080"><br /> </span><span style="color: #000000">        </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">bool</span><span style="color: #000000"> OpenPort()<br />         {<br />             </span><span style="color: #0000ff">try</span><span style="color: #000000"><br />             {<br />                 </span><span style="color: #0000ff">if</span><span style="color: #000000"> (</span><span style="color: #000000">!</span><span style="color: #000000">server.IsOpen)<br />                 {</span><span style="color: #008000">//</span><span style="color: #008000">鍏抽棴鐨?/span><span style="color: #008000"><br /> </span><span style="color: #000000">                    server.Open();<br />                 }<br />                 </span><span style="color: #0000ff">else</span><span style="color: #000000"><br />                 {</span><span style="color: #008000">//</span><span style="color: #008000">鎵撳紑鐨?br />                     </span><span style="color: #008000">//</span><span style="color: #008000">server.Close();<br />                     </span><span style="color: #008000">//</span><span style="color: #008000">server.Open();</span><span style="color: #008000"><br /> </span><span style="color: #000000">                }<br />                 </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #0000ff">true</span><span style="color: #000000">;<br />             }<br />             </span><span style="color: #0000ff">catch</span><span style="color: #000000">(Exception ex)<br />             { </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #0000ff">false</span><span style="color: #000000">; }<br />         }<br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><summary></span><span style="color: #008000"><br />         </span><span style="color: #808080">///</span><span style="color: #008000"> 鍙戦佹暟鎹?br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"></summary></span><span style="color: #008000"><br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><param name="str"></param></span><span style="color: #008000"><br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><returns></returns></span><span style="color: #808080"><br /> </span><span style="color: #000000">        </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">bool</span><span style="color: #000000"> SendDataToPort(</span><span style="color: #0000ff">string</span><span style="color: #000000"> str,</span><span style="color: #0000ff">out</span><span style="color: #000000"> </span><span style="color: #0000ff">string</span><span style="color: #000000"> mes)<br />         {<br />             </span><span style="color: #0000ff">try</span><span style="color: #000000"><br />             {<br />                 </span><span style="color: #0000ff">byte</span><span style="color: #000000">[] OutBuffer;</span><span style="color: #008000">//</span><span style="color: #008000">鏁版嵁</span><span style="color: #008000"><br /> </span><span style="color: #000000"><br />                 </span><span style="color: #0000ff">int</span><span style="color: #000000"> BufferSize;<br />                 Encoding targetEncoding;<br /> <br />                 <br /> <br /> <br /> <br />                 </span><span style="color: #008000">//</span><span style="color: #008000">灝哰UNICODE緙栫爜]杞崲涓篬GB鐮乚錛屼粎浣跨敤浜庣畝浣撲腑鏂囩増mobile</span><span style="color: #008000"><br /> </span><span style="color: #000000">                targetEncoding </span><span style="color: #000000">=</span><span style="color: #000000"> Encoding.GetEncoding(</span><span style="color: #800080">0</span><span style="color: #000000">);    </span><span style="color: #008000">//</span><span style="color: #008000">寰楀埌綆浣撲腑鏂囧瓧鐮侀〉鐨勭紪鐮佹柟寮忥紝鍥犱負鏄畝浣撲腑鏂囨搷浣滅郴緇燂紝鍙傛暟鐢?灝卞彲浠ワ紝鐢?36涔熻銆?/span><span style="color: #008000"><br /> </span><span style="color: #000000">                BufferSize </span><span style="color: #000000">=</span><span style="color: #000000"> targetEncoding.GetByteCount(str); </span><span style="color: #008000">//</span><span style="color: #008000">璁$畻瀵規寚瀹氬瓧絎︽暟緇勪腑鐨勬墍鏈夊瓧絎﹁繘琛岀紪鐮佹墍浜х敓鐨勫瓧鑺傛暟           </span><span style="color: #008000"><br /> </span><span style="color: #000000">                OutBuffer </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> </span><span style="color: #0000ff">byte</span><span style="color: #000000">[BufferSize];<br />                 OutBuffer </span><span style="color: #000000">=</span><span style="color: #000000"> targetEncoding.GetBytes(str);       </span><span style="color: #008000">//</span><span style="color: #008000">灝嗘寚瀹氬瓧絎︽暟緇勪腑鐨勬墍鏈夊瓧絎︾紪鐮佷負涓涓瓧鑺傚簭鍒?瀹屾垚鍚巓utbufer閲岄潰鍗充負綆浣撲腑鏂囩紪鐮?/span><span style="color: #008000"><br /> </span><span style="color: #000000"><br />                 </span><span style="color: #0000ff">byte</span><span style="color: #000000">[] cmdData </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> </span><span style="color: #0000ff">byte</span><span style="color: #000000">[BufferSize</span><span style="color: #000000">+</span><span style="color: #800080">100</span><span style="color: #000000">];<br /> <br />                 </span><span style="color: #008000">//</span><span style="color: #008000">鍒濆鍖栨墦鍗版満</span><span style="color: #008000"><br /> </span><span style="color: #000000">                cmdData[</span><span style="color: #800080">0</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">0x1B</span><span style="color: #000000">;<br />                 cmdData[</span><span style="color: #800080">1</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">0x40</span><span style="color: #000000">;<br />                 </span><span style="color: #008000">//</span><span style="color: #008000">璁劇疆瀛楃欏烘椂鏃嬭漿180搴?/span><span style="color: #008000"><br /> </span><span style="color: #000000">                cmdData[</span><span style="color: #800080">2</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">0x1B</span><span style="color: #000000">;<br />                 cmdData[</span><span style="color: #800080">3</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">0x56</span><span style="color: #000000">;<br />                 cmdData[</span><span style="color: #800080">4</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">0</span><span style="color: #000000">;<br /> <br /> <br />                 </span><span style="color: #0000ff">for</span><span style="color: #000000"> (</span><span style="color: #0000ff">int</span><span style="color: #000000"> i </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">0</span><span style="color: #000000">; i </span><span style="color: #000000"><</span><span style="color: #000000"> BufferSize; i</span><span style="color: #000000">++</span><span style="color: #000000">)<br />                 {<br />                     cmdData[</span><span style="color: #800080">5</span><span style="color: #000000"> </span><span style="color: #000000">+</span><span style="color: #000000"> i] </span><span style="color: #000000">=</span><span style="color: #000000"> OutBuffer[i];<br />                 }<br /> <br /> <br />                 </span><span style="color: #008000">//</span><span style="color: #008000">鍚戞墦鍗版満鍙戦乕GB鐮乚鏁版嵁</span><span style="color: #008000"><br /> </span><span style="color: #000000">                server.Write(cmdData, </span><span style="color: #800080">0</span><span style="color: #000000">, BufferSize </span><span style="color: #000000">+</span><span style="color: #000000"> </span><span style="color: #800080">5</span><span style="color: #000000">);<br />                 </span><span style="color: #008000">//</span><span style="color: #008000">server.WriteLine(str);<br /> <br />                 </span><span style="color: #008000">//</span><span style="color: #008000">鍒濆鍖栨寚浠?B 40</span><span style="color: #008000"><br /> </span><span style="color: #000000">                cmdData[</span><span style="color: #800080">0</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">0x1B</span><span style="color: #000000">;<br />                 cmdData[</span><span style="color: #800080">1</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">0x40</span><span style="color: #000000">;<br />                 </span><span style="color: #008000">//</span><span style="color: #008000">鎵撳嵃騫惰蛋綰告寚浠?/span><span style="color: #008000"><br /> </span><span style="color: #000000">                cmdData[</span><span style="color: #800080">2</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">0x1B</span><span style="color: #000000">;<br />                 cmdData[</span><span style="color: #800080">3</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">0x64</span><span style="color: #000000">;<br />                 cmdData[</span><span style="color: #800080">4</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">0x02</span><span style="color: #000000">;<br /> <br />                 server.Write(cmdData, </span><span style="color: #800080">0</span><span style="color: #000000">, </span><span style="color: #800080">5</span><span style="color: #000000">);<br />                 mes </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800000">""</span><span style="color: #000000">;<br />                 </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #0000ff">true</span><span style="color: #000000">;<br />             }<br />             </span><span style="color: #0000ff">catch</span><span style="color: #000000">(Exception ex)<br />             {<br />                 mes </span><span style="color: #000000">=</span><span style="color: #000000"> ex.Message;<br />                 </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #0000ff">false</span><span style="color: #000000">;<br />             }<br />         }<br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><summary></span><span style="color: #008000"><br />         </span><span style="color: #808080">///</span><span style="color: #008000"> 鍗佸叚榪涘埗杞崲瀛楄妭鏁扮粍<br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"></summary></span><span style="color: #008000"><br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><param name="s"></param></span><span style="color: #008000"><br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><returns></returns></span><span style="color: #808080"><br /> </span><span style="color: #000000">        </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">byte</span><span style="color: #000000">[] HexStringToByteArray(</span><span style="color: #0000ff">string</span><span style="color: #000000"> s)<br />         {<br />             s </span><span style="color: #000000">=</span><span style="color: #000000"> s.Replace(</span><span style="color: #800000">"</span><span style="color: #800000"> </span><span style="color: #800000">"</span><span style="color: #000000">, </span><span style="color: #800000">""</span><span style="color: #000000">);<br />             </span><span style="color: #0000ff">byte</span><span style="color: #000000">[] buffer </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> </span><span style="color: #0000ff">byte</span><span style="color: #000000">[s.Length </span><span style="color: #000000">/</span><span style="color: #000000"> </span><span style="color: #800080">2</span><span style="color: #000000">];<br />             </span><span style="color: #0000ff">for</span><span style="color: #000000"> (</span><span style="color: #0000ff">int</span><span style="color: #000000"> i </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">0</span><span style="color: #000000">; i </span><span style="color: #000000"><</span><span style="color: #000000"> s.Length; i </span><span style="color: #000000">+=</span><span style="color: #000000"> </span><span style="color: #800080">2</span><span style="color: #000000">)<br />                 buffer[i </span><span style="color: #000000">/</span><span style="color: #000000"> </span><span style="color: #800080">2</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> (</span><span style="color: #0000ff">byte</span><span style="color: #000000">)Convert.ToByte(s.Substring(i, </span><span style="color: #800080">2</span><span style="color: #000000">), </span><span style="color: #800080">16</span><span style="color: #000000">);<br />             </span><span style="color: #0000ff">return</span><span style="color: #000000"> buffer;<br />         }<br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><summary></span><span style="color: #008000"><br />         </span><span style="color: #808080">///</span><span style="color: #008000"> 瀛楄妭鏁扮粍杞崲鍗佸叚榪涘埗<br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"></summary></span><span style="color: #008000"><br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><param name="data"></param></span><span style="color: #008000"><br />         </span><span style="color: #808080">///</span><span style="color: #008000"> </span><span style="color: #808080"><returns></returns></span><span style="color: #808080"><br /> </span><span style="color: #000000">        </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">string</span><span style="color: #000000"> ByteArrayToHexString(</span><span style="color: #0000ff">byte</span><span style="color: #000000">[] data)<br />         {<br />             StringBuilder sb </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> StringBuilder(data.Length </span><span style="color: #000000">*</span><span style="color: #000000"> </span><span style="color: #800080">3</span><span style="color: #000000">);<br />             </span><span style="color: #0000ff">foreach</span><span style="color: #000000"> (</span><span style="color: #0000ff">byte</span><span style="color: #000000"> b </span><span style="color: #0000ff">in</span><span style="color: #000000"> data)<br />                 sb.Append(Convert.ToString(b, </span><span style="color: #800080">16</span><span style="color: #000000">).PadLeft(</span><span style="color: #800080">2</span><span style="color: #000000">, </span><span style="color: #800000">'</span><span style="color: #800000">0</span><span style="color: #800000">'</span><span style="color: #000000">).PadRight(</span><span style="color: #800080">3</span><span style="color: #000000">, </span><span style="color: #800000">'</span><span style="color: #800000"> </span><span style="color: #800000">'</span><span style="color: #000000">));<br />             </span><span style="color: #0000ff">return</span><span style="color: #000000"> sb.ToString().ToUpper();<br />         }<br /> <br />         </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> ClosePort()<br />         {<br />             server.Close();            <br />         }<br />         <br />     }<br /> }<br /> </span> <p> </p> <p>3.鎺ヤ笅鍦ㄩ」鐩獥浣撲笂鐨勪嬌鐢紝鐪嬬湅涓嬮潰鐨勪唬鐮侊細</p> <p> </p> <div id="ajfqnrv" class="cnblogs_code"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><span style="color: #0000ff">using</span><span style="color: #000000"> System;<br /> </span><span style="color: #0000ff">using</span><span style="color: #000000"> System.Collections.Generic;<br /> </span><span style="color: #0000ff">using</span><span style="color: #000000"> System.ComponentModel;<br /> </span><span style="color: #0000ff">using</span><span style="color: #000000"> System.Data;<br /> </span><span style="color: #0000ff">using</span><span style="color: #000000"> System.Drawing;<br /> </span><span style="color: #0000ff">using</span><span style="color: #000000"> System.Text;<br /> </span><span style="color: #0000ff">using</span><span style="color: #000000"> System.Windows.Forms;<br /> <br /> </span><span style="color: #0000ff">namespace</span><span style="color: #000000"> BluetoothTest<br /> {<br />     </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">partial</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> frmMain : Form<br />     {<br />         </span><span style="color: #0000ff">public</span><span style="color: #000000"> frmMain()<br />         {<br />             InitializeComponent();<br />         }<br />         Printer printer </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Printer();<br />         </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> menuItem4_Click(</span><span style="color: #0000ff">object</span><span style="color: #000000"> sender, EventArgs e)<br />         {<br />             </span><span style="color: #008000">//</span><span style="color: #008000">閫鍑?/span><span style="color: #008000"><br /> </span><span style="color: #000000">            printer.ClosePort();<br />             Application.Exit();<br />         }<br /> <br />         </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> menuItem2_Click(</span><span style="color: #0000ff">object</span><span style="color: #000000"> sender, EventArgs e)<br />         {<br />             </span><span style="color: #008000">//</span><span style="color: #008000">鎵撳嵃</span><span style="color: #008000"><br /> </span><span style="color: #000000">            </span><span style="color: #0000ff">if</span><span style="color: #000000"> (tbxBody.Text.Length </span><span style="color: #000000">==</span><span style="color: #000000"> </span><span style="color: #800080">0</span><span style="color: #000000">)<br />                 </span><span style="color: #0000ff">return</span><span style="color: #000000">;<br /> <br />             setEnabled(</span><span style="color: #0000ff">false</span><span style="color: #000000">);<br />             </span><span style="color: #0000ff">if</span><span style="color: #000000"> (</span><span style="color: #000000">!</span><span style="color: #000000">printer.IsOpen)</span><span style="color: #008000">//</span><span style="color: #008000">鍙湁鍦ㄧ鍙e叧闂殑鏃跺欐墠鑳借緗?/span><span style="color: #008000"><br /> </span><span style="color: #000000">                printer.PortName </span><span style="color: #000000">=</span><span style="color: #000000"> drpPort.GetItemText(drpPort.SelectedItem);<br />             </span><span style="color: #0000ff">if</span><span style="color: #000000"> (</span><span style="color: #000000">!</span><span style="color: #000000">printer.OpenPort())<br />             {<br />                 MessageBox.Show(</span><span style="color: #800000">"</span><span style="color: #800000">鏃犳硶鎵撳紑绔彛</span><span style="color: #800000">"</span><span style="color: #000000"> </span><span style="color: #000000">+</span><span style="color: #000000"> drpPort.GetItemText(drpPort.SelectedItem)); <br />             }<br />             </span><span style="color: #0000ff">string</span><span style="color: #000000"> mes </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800000">""</span><span style="color: #000000">;<br />             </span><span style="color: #0000ff">if</span><span style="color: #000000"> (</span><span style="color: #000000">!</span><span style="color: #000000">printer.SendDataToPort(tbxBody.Text,</span><span style="color: #0000ff">out</span><span style="color: #000000"> mes))<br />             {<br />                 MessageBox.Show(</span><span style="color: #800000">"</span><span style="color: #800000">鍙戦佹暟鎹け璐?/span><span style="color: #800000">"</span><span style="color: #000000"> </span><span style="color: #000000">+</span><span style="color: #000000"> drpPort.GetItemText(drpPort.SelectedItem) </span><span style="color: #000000">+</span><span style="color: #000000"> </span><span style="color: #800000">"</span><span style="color: #800000">  </span><span style="color: #800000">"</span><span style="color: #000000"> </span><span style="color: #000000">+</span><span style="color: #000000"> mes); <br />             }<br />             <br />             setEnabled(</span><span style="color: #0000ff">true</span><span style="color: #000000">);<br />             <br />         }<br />         </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> setEnabled(</span><span style="color: #0000ff">bool</span><span style="color: #000000"> b)<br />         {<br />             menuItem1.Enabled </span><span style="color: #000000">=</span><span style="color: #000000"> b;<br />             menuItem3.Enabled </span><span style="color: #000000">=</span><span style="color: #000000"> b;<br />         }<br />         </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> frmMain_Load(</span><span style="color: #0000ff">object</span><span style="color: #000000"> sender, EventArgs e)<br />         {<br />             </span><span style="color: #008000">//</span><span style="color: #008000">鍒濆鍖?/span><span style="color: #008000"><br /> </span><span style="color: #000000">            drpPort.SelectedIndex </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #800080">1</span><span style="color: #000000">;<br />         }<br />     }<br /> }</span></div> <img src ="http://m.tkk7.com/TiGERTiAN/aggbug/316367.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/TiGERTiAN/" target="_blank">TiGERTiAN</a> 2010-03-23 21:47 <a href="http://m.tkk7.com/TiGERTiAN/archive/2010/03/23/316367.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>澶氭櫘杈?Dopod) S900C GPS姝繪満闂鐨勮В鍐沖姙娉?/title><link>http://m.tkk7.com/TiGERTiAN/archive/2009/11/02/300701.html</link><dc:creator>TiGERTiAN</dc:creator><author>TiGERTiAN</author><pubDate>Mon, 02 Nov 2009 06:54:00 GMT</pubDate><guid>http://m.tkk7.com/TiGERTiAN/archive/2009/11/02/300701.html</guid><wfw:comment>http://m.tkk7.com/TiGERTiAN/comments/300701.html</wfw:comment><comments>http://m.tkk7.com/TiGERTiAN/archive/2009/11/02/300701.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://m.tkk7.com/TiGERTiAN/comments/commentRss/300701.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/TiGERTiAN/services/trackbacks/300701.html</trackback:ping><description><![CDATA[<a href="/Files/TiGERTiAN/GPS_Problem.rar">/Files/TiGERTiAN/GPS_Problem.rar</a><br /> <br /> 瑙e喅鍔炴硶鍜岀浉鍏蟲枃浠惰涓嬭澆涓婇潰鐨勫帇緙╂枃浠訛紝榪欐GPS姝繪満闂錛屼富瑕佹槸鍥犱負鏇存柊鐨勬槦鍥炬暟鎹GPS璧蜂簡涓浜涘啿紿侊紝瑙e喅鍔炴硶灝辨槸錛岀敤鏃х殑鏁版嵁鏂囦歡鍘繪浛鎹㈡柊鐨勶紝涓存椂鐢ㄤ笅錛岀瓑寰呭畼鏂圭殑瑙e喅鍔炴硶銆?br /> <br /> 闄凷900C鐨勭‖鍚拰涓夎壊灞忕殑鏂規硶錛?br /> <strong><font color="#0000ff"><span id="nfjkbpg" class="t_tag" onclick="tagshow(event)" href="tag.php?name=%D3%B2%C6%F4">紜惎</span>鏂規硶錛?/font></strong><span id="gajlvhi" class="t_tag" onclick="tagshow(event)" href="tag.php?name=%CA%D6%BB%FA">鎵嬫満</span>鍏蟲帀錛屽悓鏃舵寜浣忕‘璁ら敭+闊抽噺鍑忛敭錛屽啀鎸変綇鐢墊簮閿紑鏈猴紝鍑虹幇紜惎鐣岄潰鍚庢澗寮鎵鏈夋寜閿紝鐒跺悗鎸夐煶閲忓姞閿紝娓呴櫎璁板繂浣擄紝鍐嶆寜闊抽噺鍔犻敭閲嶆柊鍚姩銆?font style="font-size: 0px; color: #fff">1 M' l* n3 Q# K% q0 T</font><br /> <strong><font color="#0000ff"><strong>榪涗笁鑹?/strong>灞忔柟娉曪細</font></strong>鎵嬫満鍏蟲帀錛屽悓鏃舵寜浣忕數婧愰敭+闊抽噺鍑忛敭錛岀瓑鍒板嚭鐜頒笁鑹插睆鍚庢澗寮鎵鏈夋寜閿傚啀鐢║SB綰胯繛鎺ュ埌<span id="vbzudrq" class="t_tag" onclick="tagshow(event)" href="tag.php?name=%B5%E7%C4%D4">鐢佃剳</span>錛屾墦寮<span id="zgqlwlv" class="t_tag" onclick="tagshow(event)" href="tag.php?name=ROM">ROM</span>鎵鍦?span class="t_tag" onclick="tagshow(event)" href="tag.php?name=%CE%C4%BC%FE">鏂囦歡</span>澶癸紝榪愯<span id="hzqsnma" class="t_tag" onclick="tagshow(event)" href="tag.php?name=Diamond">Diamond</span> Unlocker.exe錛岀劧鍚庢寜鎻愮ず榪涜鎿嶄綔錛岀瓑寰?span class="t_tag" onclick="tagshow(event)" href="tag.php?name=%CB%A2%BB%FA">鍒鋒満</span>瀹屾垚灝辮浜嗐傚埛鏈哄墠鍜屽悗鏈濂介兘紜惎涓嬈★紝鍙互鏈夋晥鍑忓皯鍑洪敊鎯呭喌銆?font style="font-size: 0px; color: #fff">/ @+ s; </font> <img src ="http://m.tkk7.com/TiGERTiAN/aggbug/300701.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/TiGERTiAN/" target="_blank">TiGERTiAN</a> 2009-11-02 14:54 <a href="http://m.tkk7.com/TiGERTiAN/archive/2009/11/02/300701.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>3G寮鍙戠Щ鍔ㄥ簲鐢ㄥ紑鍙戦渶瑕佹敞鎰忕殑涓浜涗笢瑗?Windows Mobile)http://m.tkk7.com/TiGERTiAN/archive/2009/09/19/295654.htmlTiGERTiANTiGERTiANSat, 19 Sep 2009 03:19:00 GMThttp://m.tkk7.com/TiGERTiAN/archive/2009/09/19/295654.htmlhttp://m.tkk7.com/TiGERTiAN/comments/295654.htmlhttp://m.tkk7.com/TiGERTiAN/archive/2009/09/19/295654.html#Feedback1http://m.tkk7.com/TiGERTiAN/comments/commentRss/295654.htmlhttp://m.tkk7.com/TiGERTiAN/services/trackbacks/295654.html  闃呰鍏ㄦ枃

TiGERTiAN 2009-09-19 11:19 鍙戣〃璇勮
]]>
鏈榪戝仛鐨勪竴涓斂搴滈」鐩殑鎬葷粨http://m.tkk7.com/TiGERTiAN/archive/2009/08/15/291226.htmlTiGERTiANTiGERTiANSat, 15 Aug 2009 01:12:00 GMThttp://m.tkk7.com/TiGERTiAN/archive/2009/08/15/291226.htmlhttp://m.tkk7.com/TiGERTiAN/comments/291226.htmlhttp://m.tkk7.com/TiGERTiAN/archive/2009/08/15/291226.html#Feedback2http://m.tkk7.com/TiGERTiAN/comments/commentRss/291226.htmlhttp://m.tkk7.com/TiGERTiAN/services/trackbacks/291226.html
N涓湀鍓嶏紝鏌愬浗瀹剁洿灞炲崟浣嶇殑縐誨姩鍔炲叕欏圭洰寮濮嬬珛欏瑰拰鍐呴儴璋冪爺錛屽茍瀵繪壘浜嗗嚑瀹跺欓夊崟浣嶃?br />
涓や釜鍗婃湀鍓嶏紝閫氱煡鍊欓夊崟浣嶏紝绔炴爣鍑嗗寮濮嬩簡錛屾垜鐨勫姞鐝棩瀛愪篃闅忎箣鍚姩浜嗭紝榪炵畫鍗婁釜鏈堜箞鐨勪竴澶╀紤鎭殑錛屽洜涓虹粓绔紑鍙戞槸鎴戜竴涓漢鍋氥?br />
涓や釜鏈堝墠鐨勬煇涓澶╋紝绔炴爣澶т細鍙紑浜嗭紝4瀹跺崟浣嶏紝鏈鍚庡彧鍘諱簡涓夊錛屼竴瀹跺緢鏈夌珵浜夊姏鐨勫崟浣嶅洜涓哄お蹇欎簡錛屾娊涓嶅嚭浜烘墜鑰屾斁寮冿紝鎴戜滑鎰熷埌寰堝簡騫革紝鍥犱負濡傛灉浠栦滑鍙傚姞鐨勮瘽錛屾垜浠垚鍔熺巼浼氱洿鎺ラ檷涓鍗娿傜珵鏍囪繃紼嬭鎴戞劅瑙夊埌鏀垮簻鍗曚綅榪樻槸姣旇緝鍏紑閫忔槑鐨勶紙鍥犱負浠栦滑鐨勫叧緋繪埛涓嶆槸鍋氳繖鍧楃殑錛夛紝鍥犱負鏄Щ鍔ㄩ」鐩紝鎵浠ヤ粬浠紼沖畾鎬э紝鎿嶄綔渚挎嵎鎬ц繕鏈変紶杈撶ǔ瀹氭ч兘榪涜浜嗘祴璇曞拰璇勫錛岀ǔ瀹氭у氨涓嶇敤璇翠簡錛孌emo涓殑姣忎釜鍔熻兘閮借瀹屽畬鍏ㄥ叏鎿嶄綔涓閬嶇殑錛屾搷浣滅殑渚挎嵎鎬т篃闅忎箣浣撶幇鍑烘潵錛屼紶杈撶ǔ瀹氭х殑嫻嬭瘯錛屼粬浠敤鍒頒簡灞忚斀浠紝鎶婄Щ鍔ㄤ俊鍙峰叏閮ㄥ睆钄芥帀榪涜浼犺緭鏁版嵁嫻嬭瘯錛岃姹傚氨綆楁病鏈変俊鍙蜂篃涓嶈兘騫叉壈鐢ㄦ埛鐨勮緭鍏ワ紝浼犺緭鍏ㄩ儴涓㈠叆鍚庡彴銆傚洜涓烘垚鍔熺殑婕旂ず浠ュ強涔嬪墠鐨勯」鐩紝鑷劧鎴戜滑涔熷氨涓爣浜嗭紝鏈互涓轟笁涓湀鐨勯」鐩懆鏈燂紝鍙互鑸掓湇鐐逛簡錛屽彲娌℃兂鍒幫紝鎴戠殑鐞嗚В閿欒浜嗐傘傘傘備笁涓湀鏄畬鍏ㄤ氦浠樹嬌鐢ㄧ殑鍛ㄦ湡錛屼笉鏄紑鍙戝懆鏈熴傘傘傘傘傘?br />
6鏈堝紑濮嬪ぉ澶╁姞鐝紝榪炵畫涓涓湀娌℃湁浼戞伅榪囷紝鍏湀搴曟嬁鍑轟簡1.0.0錛屾祴璇曚慨鏀瑰嚭浜?.0.1錛屼箣鍚庡湪璇曠敤鍓嶅嚭浜嗕竴涓?.0.3錛屼竷鏈堜笅鏃紑濮嬭瘯鐢ㄣ傛湰鍛ㄤ竴鎺ュ埌浠誨姟璺熼殢淇℃伅鍔炵殑浜轟竴璧峰幓榪涜璇曠敤鍙嶉璋冪爺錛屽惉鍙栨剰瑙佽繘琛岃繘涓姝ュ畬鍠勩?br />
榪欏懆鍑哄樊浜嗕竴鍛紝璋冪爺鍙戠幇鐨勯棶棰樺涓嬶細
1.涓昏淇敼鐨勭郴緇熸槸鎴戜滑瀵規帴鐨勯偅涓富緋葷粺錛屼粬浠唴閮ㄧ殑OA錛屽洜涓烘垜浠粓绔郴緇熶篃鏄緷闄勪簬浠栫殑錛屾墍浠ヤ粬鐨勭伒媧繪槗鐢ㄦх洿鎺ュ獎鍝嶅埌鎴戜滑鐨勫伐浣滈噺錛屾鎱扮殑鏄粬浠殑緋葷粺寰堢伒媧伙紝鎵浠ョ粓绔▼搴忓湪璁捐涔嬪垵涔熷氨鑰冭檻鍒頒簡鐏墊椿鎬ц繖鐐癸紝浣垮緱浠栦滑灝辯畻鎬庝箞淇敼瀵規垜浠殑褰卞搷閮藉緢灝忋?br /> 2.緇堢涓昏闂閮芥槸瑕侀氳繃鏇存柊璁懼鎵嶈兘瑙e喅錛屾瘮濡傛墜鍐欒緭鍏ュ噯紜т綆錛岄渶瑕佷嬌鐢ㄩ敭鐩橈紱寰呮満鏃墮棿寰堢煭錛屽洜涓轟嬌鐢ㄤ簡3G錛屾墍浠ユ甯稿緟鏈烘墠涓澶╋紝浣跨敤鍙湁鍗婂ぉ錛岃繖涔熸槸鍙嶅簲鏈澶氱殑涓涓棶棰樸?br /> 3.緇堢緋葷粺榪樻槸瑕佹敞鎰忕郴緇熺殑閫熷害錛屼互鍙婁嬌鐢ㄧ殑渚挎嵎鎬э紝渚挎嵎鎬т富瑕佹槸鏂囧瓧杈撳叆涓婇潰鐨勪究鎹鋒э紝鍥犱負浣跨敤浜哄憳閮戒笉鏄垜浠笓涓氬紑鍙戞墍浠ヤ粬浠搷浣滃緢鎱紝瑕佸敖鍙兘鐨勭畝鍖栦粬浠殑鎿嶄綔錛屾渶涓昏鐨勫氨鏄枃瀛楄緭鍏ワ紝鐐歸?鍏跺疄鍊掍笉鎷呭績浜嗐傝繕鏈夊氨鏄晫闈笂闈㈢殑鎺т歡瑕佸敖閲忚垝鏈嶇編瑙傦紝鏈濂藉彧闈犵偣閫夋搷浣滃嵆鍙紝榪欐牱澧炲姞浣跨敤鑰呯殑浣撻獙鎬с備紶杈撹繖鍧楁槸姣旇緝閲嶈鐨勶紝鍥犱負鐢ㄦ埛浣跨敤鏈鐑︾殑灝辨槸鎿嶄綔琚墦鏂紝鎵浠ヨ兘涓㈠叆鍚庡彴浼犺緭鐨勫敖閲忎涪鍏ュ悗鍙幫紝榪欐牱鐢ㄦ埛鏃㈠彲浠ュ鍔犵敤鎴鋒搷浣滅殑嫻佺晠鎬т篃鍙互澧炲姞浣撻獙鎬с?br /> 4.緋葷粺鏈鍚庤鍦ㄦ暣涓崟浣嶉兘瑕侀摵寮浣跨敤錛岃屼嬌鐢ㄤ漢鍛樺伐浣滆寖鍥翠篃涓嶅悓錛屾墍浠ョ粓绔澶囨槸瑕佸尯鍒嗗寰呯殑錛岀粡甯稿湪澶栫殑闇瑕侀?U嶅ぇ灞忓箷甯﹂敭鐩樼殑璁懼錛屾枃鑱屼漢鍛樺彲浠ヤ嬌鐢ㄧ幇鍦ㄦ鍦ㄨ瘯鐢ㄧ殑緇堢錛屽鏅揪鐨勬櫤鑳芥満錛屾柟渚挎惡甯︿嬌鐢ㄣ?br />





TiGERTiAN 2009-08-15 09:12 鍙戣〃璇勮
]]>
銆愬疄鐢ㄦ妧宸с慦indows Mobile 鎵嬫満榪炴帴鐢佃剳鏃訛紝濡備綍浣跨敤GPRS涓婄綉錛屽悓鏃惰窡鐢佃剳淇濇寔榪炴帴銆?USB鍜孏PRS鍏卞瓨闂)http://m.tkk7.com/TiGERTiAN/archive/2009/03/19/260906.htmlTiGERTiANTiGERTiANThu, 19 Mar 2009 14:08:00 GMThttp://m.tkk7.com/TiGERTiAN/archive/2009/03/19/260906.htmlhttp://m.tkk7.com/TiGERTiAN/comments/260906.htmlhttp://m.tkk7.com/TiGERTiAN/archive/2009/03/19/260906.html#Feedback0http://m.tkk7.com/TiGERTiAN/comments/commentRss/260906.htmlhttp://m.tkk7.com/TiGERTiAN/services/trackbacks/260906.html 姝ラ鏄細
1銆佸厛瀹夎PC涓婇潰鐨凱ocket Controller錛岀劧鍚庨氳繃ActiveSync寮鍚珮綰х綉緇滃姛鑳借繛鎺ユ墜鏈猴紝鐒跺悗Pocket Controller鍦ㄨ繛鎺ユ椂浼氳嚜鍔ㄦ彁紺虹粰鎵嬫満瀹夎瀹㈡埛绔?br /> 2銆佸畨瑁呭畬涔嬪悗錛屽湪Pocket Controller涓殑璁劇疆閲岄潰錛屽緩绔嬩竴涓柊鐨勮繛鎺ラ氳繃TCP/IP鐨勩侷P灝辨槸169.254.2.1
3銆佺‘璁ゆ墜鏈哄紑鍚簡TCP/IP榪炴帴鍏佽錛岀劧鍚庝嬌鐢≒ocket Controller鍘昏繛鎺ユ墜鏈恒傝繛鎺ユ垚鍔熶箣鍚庯紝紱佹帀ActiveSync錛屼篃灝辨槸鍏抽棴榪炴帴璁劇疆閲岄潰鐨?鍏佽USB榪炴帴鍜屽厑璁擱氳繃浠ヤ笅绔彛榪炴帴 涓ら」銆?br /> 4銆佽繖鏍鋒搷浣滀箣鍚嶱ocket Controller浠嶇劧涓庢墜鏈轟繚鎸佽繛鎺ワ紝鑰屼笖鎵嬫満涔熷彲浠ヤ笂GPRS鎴栬匛dge浜嗐?

TiGERTiAN 2009-03-19 22:08 鍙戣〃璇勮
]]>
Windows Mobile寮鍙戠殑涓浜涘皬鎶宸э紙鎸佺畫鏇存柊錛?/title><link>http://m.tkk7.com/TiGERTiAN/archive/2008/10/07/232898.html</link><dc:creator>TiGERTiAN</dc:creator><author>TiGERTiAN</author><pubDate>Tue, 07 Oct 2008 05:02:00 GMT</pubDate><guid>http://m.tkk7.com/TiGERTiAN/archive/2008/10/07/232898.html</guid><wfw:comment>http://m.tkk7.com/TiGERTiAN/comments/232898.html</wfw:comment><comments>http://m.tkk7.com/TiGERTiAN/archive/2008/10/07/232898.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/TiGERTiAN/comments/commentRss/232898.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/TiGERTiAN/services/trackbacks/232898.html</trackback:ping><description><![CDATA[<p><strong>1.濡備綍鐪熸鐨勯鍑虹▼搴忥紝鑰屼笉鏄殣钘忕獥浣擄紵</strong><br /> Windows Mobile涓綋浣犵偣鍑籜鐨勬椂鍊欙紝騫朵笉鏄湡姝g殑鍏抽棴紿椾綋錛岃屾槸闅愯棌紿椾綋錛岄渶瑕佸湪搴旂敤紼嬪簭鐨勬瘡涓狥orm涓皟鐢ㄤ竴涓嚱鏁版墠鍙互銆?br /> </p> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #000000;">        </span><span style="color: #0000ff;">private</span><span style="color: #000000;"> </span><span style="color: #0000ff;">void</span><span style="color: #000000;"> InfoMain_Closed(</span><span style="color: #0000ff;">object</span><span style="color: #000000;"> sender, EventArgs e)<br /> <img id="Codehighlighter1_73_115_Open_Image" onclick="this.style.display='none'; Codehighlighter1_73_115_Open_Text.style.display='none'; Codehighlighter1_73_115_Closed_Image.style.display='inline'; Codehighlighter1_73_115_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_73_115_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_73_115_Closed_Text.style.display='none'; Codehighlighter1_73_115_Open_Image.style.display='inline'; Codehighlighter1_73_115_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />        </span><span id="Codehighlighter1_73_115_Closed_Text" style="border: 1px solid #808080; display: none; background-color: #ffffff;"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_73_115_Open_Text"><span style="color: #000000;">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />            Application.Exit();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />        }</span></span></div> <p><br /> 姣忎釜紿椾綋鐨凜losed浜嬩歡涓姞鍏pplication.Exit();鎵嶈兘鐪熸鐨勯鍑虹▼搴忋?br /> <br /> <strong>2.濡備綍璁╃獥浣撹窡鐫杈撳叆娉曠獥鍙d笂縐?/strong>錛?br /> 褰撹緭鍏ユ枃瀛楁椂闇瑕佹墦寮杈撳叆娉曪紝鑰屽綋鎵撳紑杈撳叆娉曠殑鏃跺欒緭鍏ユ硶浼氱洿鎺ョ洊鎺変笅灞傜殑紼嬪簭鐣岄潰錛屽鑷存湁鏃跺欑獥浣撲笅鏂圭殑鎺т歡鏃犳硶榪涜鎿嶄綔錛堣緭鍏ユ枃瀛楋紝鐐瑰嚮鎸夐挳絳夛級錛岄偅涔堣繖涓椂鍊欏氨闇瑕佹垜浠湪杈撳叆娉曠姸鎬佸彉鏇寸殑鏃跺欏嚭鍙戜竴浜涗簨浠訛紝璁╄緭鍏ユ硶紿楀彛涓嶈鐩栦綇紼嬪簭銆?br /> 棣栧厛姣忔鍒涘緩Form錛屾渶濂介兘鍏堟坊鍔犱竴涓猵anel鍋氭帶浠剁殑涓婂眰瀹瑰櫒錛岃瀹氬ソ鐩稿panel鐨勪綅緗紝榪欐牱鎺т歡鎵嶄細鏍規嵁panel鐨勫彉鍖栬屽彉鍖栥備箣鍚庣粰InputPanel鐨凟nabledChanged浜嬩歡鍔犲叆涓嬮潰鐨勪唬鐮侊細</p> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #000000;">        </span><span style="color: #0000ff;">private</span><span style="color: #000000;"> </span><span style="color: #0000ff;">void</span><span style="color: #000000;"> inputPanel1_EnabledChanged(</span><span style="color: #0000ff;">object</span><span style="color: #000000;"> sender, EventArgs e)<br /> <img id="Codehighlighter1_84_378_Open_Image" onclick="this.style.display='none'; Codehighlighter1_84_378_Open_Text.style.display='none'; Codehighlighter1_84_378_Closed_Image.style.display='inline'; Codehighlighter1_84_378_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_84_378_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_84_378_Closed_Text.style.display='none'; Codehighlighter1_84_378_Open_Image.style.display='inline'; Codehighlighter1_84_378_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />        </span><span id="Codehighlighter1_84_378_Closed_Text" style="border: 1px solid #808080; display: none; background-color: #ffffff;"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_84_378_Open_Text"><span style="color: #000000;">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />            </span><span style="color: #0000ff;">if</span><span style="color: #000000;"> (inputPanel1.Enabled)<br /> <img id="Codehighlighter1_135_272_Open_Image" onclick="this.style.display='none'; Codehighlighter1_135_272_Open_Text.style.display='none'; Codehighlighter1_135_272_Closed_Image.style.display='inline'; Codehighlighter1_135_272_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_135_272_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_135_272_Closed_Text.style.display='none'; Codehighlighter1_135_272_Open_Image.style.display='inline'; Codehighlighter1_135_272_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />            </span><span id="Codehighlighter1_135_272_Closed_Text" style="border: 1px solid #808080; display: none; background-color: #ffffff;"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_135_272_Open_Text"><span style="color: #000000;">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff;">this</span><span style="color: #000000;">.panel1.Dock </span><span style="color: #000000;">=</span><span style="color: #000000;"> DockStyle.None;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff;">this</span><span style="color: #000000;">.panel1.Height </span><span style="color: #000000;">=</span><span style="color: #000000;"> inputPanel1.VisibleDesktop.Height;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />            }</span></span><span style="color: #000000;"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />            </span><span style="color: #0000ff;">else</span><span style="color: #000000;"><br /> <img id="Codehighlighter1_303_368_Open_Image" onclick="this.style.display='none'; Codehighlighter1_303_368_Open_Text.style.display='none'; Codehighlighter1_303_368_Closed_Image.style.display='inline'; Codehighlighter1_303_368_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_303_368_Closed_Image" style="display: none;" onclick="this.style.display='none'; Codehighlighter1_303_368_Closed_Text.style.display='none'; Codehighlighter1_303_368_Open_Image.style.display='inline'; Codehighlighter1_303_368_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />            </span><span id="Codehighlighter1_303_368_Closed_Text" style="border: 1px solid #808080; display: none; background-color: #ffffff;"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_303_368_Open_Text"><span style="color: #000000;">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff;">this</span><span style="color: #000000;">.panel1.Dock </span><span style="color: #000000;">=</span><span style="color: #000000;"> DockStyle.Fill;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />            }</span></span><span style="color: #000000;"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />        }</span></span></div> 褰撹緭鍏ユ硶鎵撳紑鐨勬椂鍊檖anel涓嶅啀鍗犳嵁鍏ㄥ睆錛岃屾槸璺熼櫎浜嗚緭鍏ユ硶澶栫殑鍙鍖栬寖鍥翠竴鏍烽珮銆傝緭鍏ユ硶鍏抽棴鏃訛紝panel鎭㈠鍗犳嵁鍏ㄥ睆銆傚綋鐒秔anel鐨凙utoScroll瑕佽瀹氫負true銆?<br /> <br /> <strong>3.濡備綍鍒涘緩闈炲叏灞廎orm?</strong><br /> 棣栧厛闇瑕佷綘鍒涘緩涓涓叏灞忕殑Form錛岀劧鍚庡皢浠ヤ笅鍙傛暟璁懼畾涓烘寚瀹氬?br /> ControlBox = false;<br /> FormBorderStyle = none;<br /> MinimizeBox = false;<br /> WindowState = normal;<br /> Size = 璁劇疆涓轟綘鎯寵鐨勫ぇ灝忓嵆鍙?br /> <br /> 榪欐牱鐨勯潪鍏ㄥ睆紿椾綋涓嶅甫杈規涓嶅甫鏍囬錛屽彧鏈変竴涓厜縐冪鐨凢orm銆傚鏋滀綘闇瑕侀偅浜涜竟妗嗗拰鏍囬浣垮緱鐣岄潰鏇村姞緹庤錛屽垯鍙互鍙傝冧互涓嬫枃绔狅細<br /> http://www.christec.co.nz/blog/archives/134<br /> 鐗墊壇鍒頒簡涓浜涘搴曞眰鐨勬搷浣溿?<br /> <br /> <strong>4.</strong><a class="titlelink" id="Editor_Results_rprSelectionList_ctl01_LinkTitle" href="http://m.tkk7.com/TiGERTiAN/archive/2009/03/19/260906.html"><strong>銆愬疄鐢ㄦ妧宸с慦indows Mobile 鎵嬫満榪炴帴鐢佃剳鏃訛紝濡備綍浣跨敤GPRS涓婄綉錛屽悓鏃惰窡鐢佃剳淇濇寔榪炴帴銆?USB鍜孏PRS鍏卞瓨闂)</strong></a><strong> (3-19 22:08)</strong> <br /> <br /> <strong>5.濡備綍鎻愰珮Windows Mobile涓?Http涓婁紶鏂囦歡鐨勭ǔ瀹氭э紵</strong><br /> 鍏跺疄涓婁紶鏂囦歡鏈濂借繕鏄敤FTP錛屽洜涓烘瘮杈冪ǔ瀹氾紝鍚勬柟闈篃寰堟垚鐔熴傚鏋滄槸鍜屼笟鍔$郴緇熺浉鍏崇殑涓浜涗笢瑗匡紝涔熶笉瑕佺揣錛屽鎴風涓婁紶瀹屾垚涔嬪悗璇鋒眰涓嬫湇鍔$鐨勪竴涓湇鍔★紝閫氱煡浠栦笟鍔℃暟鎹笂浼犲畬姣曪紝鐒跺悗鏈嶅姟绔幓鍋氫竴浜涙搷浣滐紝涔嬪悗鍙互鍥炲簲緇欏鎴風灝卞彲浠ヤ簡銆?br /> 浣嗗鏋滈潪瑕佺敤HTTP鐨勮瘽錛屼篃涓嶈绱э紝铏界劧鏃犵嚎緗戠粶鐢℉TTP浼犺緭鏂囦歡涓嶆槸澶ǔ瀹氾紝浣嗘諱綋涓婅繕鏄笉閿欑殑錛屽彧鏄綘闇瑕佽璁′竴濂楁柇鐐圭畫浼犳満鍒訛紝鏉ヤ繚璇佸氨綆楃綉緇滃彂鐢熷紓甯鎬簡錛屼篃鍙互鎺ョ潃涓婃鐨勫啀浼犮傞櫎浜嗕嬌鐢ㄦ柇鐐圭畫浼犳満鍒訛紝榪樻湁涓涓妧宸э紝灝辨槸璁╁鎴風鍜屾湇鍔$鐨勮繛鎺ヨ秴鏃舵椂闂達紙ConnectionTimeout)灝藉彲鑳界殑闀夸簺錛屾瘮濡傝緗負200縐掞紝榪欐槸鍦ㄥ紑鍙戣繃紼嬩腑鎬葷粨鍑烘潵鐨勶紝鎴戞祴璇曡繃寰堝嬈★紝鍙戠幇濡傛灉瓚呮椂鏃墮棿寰堥暱鐨勮瘽錛屽鏁板ぇ鏂囦歡(> 500kb)鍏跺疄涓嬈″氨鍙互浼犻掍笂鍘伙紝涔嬪墠浼犱笉涓婂幓錛屽鏁版槸鍥犱負榪炴帴瓚呮椂錛岃屾湇鍔$濡傛灉浣跨敤tomcat錛屾姏鍑篠ocket read timeout寮傚父涔嬪悗錛屽鎴風澶氭暟鏀朵笉鍒幫紝鍥犱負姝ゆ椂鐨勫鎴風榪樺湪鏈漅equest涓殑Outputstream鍐欐暟鎹紝榪樻病鏈夎蛋鍒皉equest.GetResponse()榪欎竴姝ワ紝榪欏氨閫犳垚浜嗭紝瀹㈡埛绔彂閫佸畬鏁版嵁涔嬪悗鎵嶇煡閬撳鎴風寮傚父浜嗭紝嫻垂浜嗗緢澶氭祦閲忥紝涔熼檷浣庝簡寰堝鏁堢巼錛屽ぇ瀹跺彲浠ユ敞鎰忎竴涓嬨?br /> <br /> 6.濡備綍寤虹珛GPRS榪炴帴錛?br /> 縐誨姩錛?br /> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #000000;">XmlDocument configDoc </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> XmlDocument();<br /> configDoc.LoadXml(<br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><wap-provisioningdoc></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><characteristic type=\</span><span style="color: #000000;">"</span><span style="color: #000000;">CM_GPRSEntries\</span><span style="color: #000000;">"</span><span style="color: #000000;">></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><characteristic type=\</span><span style="color: #000000;">"</span><span style="color: #000000;">xxx\</span><span style="color: #000000;">"</span><span style="color: #000000;">></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">DestId\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">{ADB0B001</span><span style="color: #000000;">-</span><span style="color: #000000;">10B5</span><span style="color: #000000;">-</span><span style="color: #000000;">3F39</span><span style="color: #000000;">-</span><span style="color: #000000;">27C6</span><span style="color: #000000;">-</span><span style="color: #000000;">9742E785FCD4}\</span><span style="color: #000000;">"</span><span style="color: #000000;"> /></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">UserName\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">1</span><span style="color: #000000;">\</span><span style="color: #000000;">"</span><span style="color: #000000;"> /></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">Password\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">1</span><span style="color: #000000;">\</span><span style="color: #000000;">"</span><span style="color: #000000;"> /></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">Domain\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">\</span><span style="color: #000000;">"</span><span style="color: #000000;"> /></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><characteristic type=\</span><span style="color: #000000;">"</span><span style="color: #000000;">DevSpecificCellular\</span><span style="color: #000000;">"</span><span style="color: #000000;">></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">GPRSInfoValid\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">1</span><span style="color: #000000;">\</span><span style="color: #000000;">"</span><span style="color: #000000;"> /></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">GPRSInfoAccessPointName\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">xx.js\</span><span style="color: #000000;">"</span><span style="color: #000000;"> /></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"></characteristic></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"></characteristic></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"></characteristic></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"></wap-provisioningdoc></span><span style="color: #000000;">"</span><span style="color: #000000;"><br />                         );<br /> ConfigurationManager.ProcessConfiguration(configDoc, </span><span style="color: #0000ff;">false</span><span style="color: #000000;">);</span></div> 鐢典俊:<br /> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #000000;">XmlDocument configDoc </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> XmlDocument();<br /> configDoc.LoadXml(<br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><wap-provisioningdoc></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><characteristic type=\</span><span style="color: #000000;">"</span><span style="color: #000000;">CM_GPRSEntries\</span><span style="color: #000000;">"</span><span style="color: #000000;">></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><characteristic type=\</span><span style="color: #000000;">"</span><span style="color: #000000;">jsmsa\</span><span style="color: #000000;">"</span><span style="color: #000000;">></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">DestId\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">{ADB0B001</span><span style="color: #000000;">-</span><span style="color: #000000;">10B5</span><span style="color: #000000;">-</span><span style="color: #000000;">3F39</span><span style="color: #000000;">-</span><span style="color: #000000;">27C6</span><span style="color: #000000;">-</span><span style="color: #000000;">9742E785FCD4}\</span><span style="color: #000000;">"</span><span style="color: #000000;"> /></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">UserName\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"xxxx</span><span style="color: #000000;">.js\</span><span style="color: #000000;">"</span><span style="color: #000000;"> /></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">Password\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">xxxx\</span><span style="color: #000000;">"</span><span style="color: #000000;"> /></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">Domain\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">\</span><span style="color: #000000;">"</span><span style="color: #000000;"> /></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">Phone\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">#</span><span style="color: #000000;">777</span><span style="color: #000000;">\</span><span style="color: #000000;">"</span><span style="color: #000000;">/></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">DeviceType\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">modem\</span><span style="color: #000000;">"</span><span style="color: #000000;">/></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">DeviceName\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">Cellular Line\</span><span style="color: #000000;">"</span><span style="color: #000000;">/></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">Enabled\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">1</span><span style="color: #000000;">\</span><span style="color: #000000;">"</span><span style="color: #000000;">/></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">RequirePw\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">1</span><span style="color: #000000;">\</span><span style="color: #000000;">"</span><span style="color: #000000;">/></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"><parm name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">DeviceSpecificRAW\</span><span style="color: #000000;">"</span><span style="color: #000000;"> value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">b4010000b4010000b4010000010000000f0000000100000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\</span><span style="color: #000000;">"</span><span style="color: #000000;">/></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"></characteristic></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"></characteristic></span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                         </span><span style="color: #000000;">"</span><span style="color: #000000;"></wap-provisioningdoc></span><span style="color: #000000;">"</span><span style="color: #000000;"><br />                         );<br /> ConfigurationManager.ProcessConfiguration(configDoc, </span><span style="color: #0000ff;">false</span><span style="color: #000000;">);</span></div> 淇敼榪炴帴鐨勪紭鍏堢駭錛?br /> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #000000;">                </span><span style="color: #0000ff;">string</span><span style="color: #000000;"> configpreferred </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #000000;">"</span><span style="color: #000000;"> <wap-provisioningdoc> </span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                                          </span><span style="color: #000000;">"</span><span style="color: #000000;"> <characteristic   type=\</span><span style="color: #000000;">"</span><span style="color: #000000;">cm_planner\</span><span style="color: #000000;">"</span><span style="color: #000000;">> </span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                                          </span><span style="color: #000000;">"</span><span style="color: #000000;"> <characteristic   type=\</span><span style="color: #000000;">"</span><span style="color: #000000;">preferredconnections\</span><span style="color: #000000;">"</span><span style="color: #000000;">> </span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                                          </span><span style="color: #000000;">"</span><span style="color: #000000;"> <parm   name=\</span><span style="color: #000000;">"</span><span style="color: #000000;">{ADB0B001</span><span style="color: #000000;">-</span><span style="color: #000000;">10B5</span><span style="color: #000000;">-</span><span style="color: #000000;">3F39</span><span style="color: #000000;">-</span><span style="color: #000000;">27C6</span><span style="color: #000000;">-</span><span style="color: #000000;">9742E785FCD4}\</span><span style="color: #000000;">"</span><span style="color: #000000;">    value=\</span><span style="color: #000000;">"</span><span style="color: #000000;">jsmsa\</span><span style="color: #000000;">"</span><span style="color: #000000;">   /> </span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                                          </span><span style="color: #000000;">"</span><span style="color: #000000;"> </characteristic> </span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                                          </span><span style="color: #000000;">"</span><span style="color: #000000;"> </characteristic> </span><span style="color: #000000;">"</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"><br />                                          </span><span style="color: #000000;">"</span><span style="color: #000000;"> </wap-provisioningdoc> </span><span style="color: #000000;">"</span><span style="color: #000000;">;</span></div> <br /> 7.鍙戣搗鍜屾柇寮榪炴帴<br /> 榪欎袱涓柟娉曢渶瑕佸彟澶?a href="http://m.tkk7.com/Files/TiGERTiAN/connection.zip">涓や釜綾?/a>鐨勫崗鍔?br /> <div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; background-color: #eeeeee; font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #000000;">       </span><span style="color: #0000ff;">public</span><span style="color: #000000;"> </span><span style="color: #0000ff;">static</span><span style="color: #000000;"> </span><span style="color: #0000ff;">void</span><span style="color: #000000;"> MakeConnection()<br />         {<br />             </span><span style="color: #0000ff;">try</span><span style="color: #000000;"><br />             {<br />                 ConnectionManager connectManager </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> ConnectionManager();<br />                 </span><span style="color: #0000ff;">int</span><span style="color: #000000;"> idx </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #000000;">-</span><span style="color: #000000;">1</span><span style="color: #000000;">;<br />                 List</span><span style="color: #000000;"><</span><span style="color: #000000;">ConnectionManager.CONNMGR_DESTINATION_INFO</span><span style="color: #000000;">></span><span style="color: #000000;"> lstIdentifiers </span><span style="color: #000000;">=</span><span style="color: #000000;"> connectManager.EnumConnDestinations();<br /> <br />                 </span><span style="color: #0000ff;">for</span><span style="color: #000000;"> (</span><span style="color: #0000ff;">int</span><span style="color: #000000;"> i </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #000000;">0</span><span style="color: #000000;">; i </span><span style="color: #000000;"><</span><span style="color: #000000;"> lstIdentifiers.Count; i</span><span style="color: #000000;">++</span><span style="color: #000000;">)<br />                 {<br />                     </span><span style="color: #0000ff;">if</span><span style="color: #000000;"> (</span><span style="color: #000000;">"</span><span style="color: #000000;">Internet 榪炴帴</span><span style="color: #000000;">"</span><span style="color: #000000;">.Equals(lstIdentifiers[i].Description))<br />                     {<br />                         idx </span><span style="color: #000000;">=</span><span style="color: #000000;"> i;<br />                         </span><span style="color: #0000ff;">break</span><span style="color: #000000;">;<br />                     }<br />                 }<br /> <br />                 </span><span style="color: #0000ff;">if</span><span style="color: #000000;"> (idx </span><span style="color: #000000;">></span><span style="color: #000000;"> </span><span style="color: #000000;">-</span><span style="color: #000000;">1</span><span style="color: #000000;">)<br />                 {<br />                     connectManager.EstablishConnection((</span><span style="color: #0000ff;">uint</span><span style="color: #000000;">)idx);<br />                 }<br />             }<br />             </span><span style="color: #0000ff;">catch</span><span style="color: #000000;"><br />             {<br />             }<br />         }<br /> <br />   </span><span style="color: #808080;"><br /> </span><span style="color: #000000;">        </span><span style="color: #0000ff;">public</span><span style="color: #000000;"> </span><span style="color: #0000ff;">static</span><span style="color: #000000;"> </span><span style="color: #0000ff;">void</span><span style="color: #000000;"> Disconnect()<br />         {<br />             </span><span style="color: #0000ff;">try</span><span style="color: #000000;"><br />             {<br />                 RASManager.RASCONN[] conns </span><span style="color: #000000;">=</span><span style="color: #000000;"> RASManager.GetRASConnections();<br />                 </span><span style="color: #0000ff;">if</span><span style="color: #000000;"> (conns </span><span style="color: #000000;">!=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">null</span><span style="color: #000000;"> </span><span style="color: #000000;">&&</span><span style="color: #000000;"> conns.Length </span><span style="color: #000000;">></span><span style="color: #000000;"> </span><span style="color: #000000;">0</span><span style="color: #000000;">)<br />                 {<br />                     </span><span style="color: #0000ff;">foreach</span><span style="color: #000000;"> (RASManager.RASCONN conn </span><span style="color: #0000ff;">in</span><span style="color: #000000;"> conns)<br />                     {<br />                         </span><span style="color: #0000ff;">try</span><span style="color: #000000;"><br />                         {<br />                             RASManager.HangUp(conn.hRasConnHandle);<br />                         }<br />                         </span><span style="color: #0000ff;">catch</span><span style="color: #000000;"> (Exception ex)<br />                         {<br />                         }<br />                     }<br />                 }<br />             }<br />             </span><span style="color: #0000ff;">catch</span><span style="color: #000000;"><br />             {<br />             }<br />         }</span></div> <br /> <img src ="http://m.tkk7.com/TiGERTiAN/aggbug/232898.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/TiGERTiAN/" target="_blank">TiGERTiAN</a> 2008-10-07 13:02 <a href="http://m.tkk7.com/TiGERTiAN/archive/2008/10/07/232898.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>C#鑾峰緱鍜屽彂閫佺綉绔橲essionhttp://m.tkk7.com/TiGERTiAN/archive/2008/10/04/232290.htmlTiGERTiANTiGERTiANSat, 04 Oct 2008 02:41:00 GMThttp://m.tkk7.com/TiGERTiAN/archive/2008/10/04/232290.htmlhttp://m.tkk7.com/TiGERTiAN/comments/232290.htmlhttp://m.tkk7.com/TiGERTiAN/archive/2008/10/04/232290.html#Feedback0http://m.tkk7.com/TiGERTiAN/comments/commentRss/232290.htmlhttp://m.tkk7.com/TiGERTiAN/services/trackbacks/232290.html                request = (HttpWebRequest)WebRequest.Create(url);
                
if (Const.session != null)
                
{
                    request.Headers.Add(
"Cookie", Const.session);
                }

                request.Timeout 
= 30000//璁懼畾瓚呮椂鍊?/span>
                request.ContentType = "application/octet-stream";
                request.Method 
= "POST";
                request.ContentLength 
= outData.Length;

                stream 
= request.GetRequestStream();
                stream.Write(outData, 
0, outData.Length);
                stream.Flush();
                stream.Close();
                Const.uiWaitMessage 
= "璇鋒眰鍙戦佸畬姣曪紝寮濮嬫帴鏀舵暟鎹?/span>";
                Thread.Sleep(
500);
                
//鍙戦佸畬姣?br />                 //鎺ユ敹鏁版嵁
                response = (HttpWebResponse)request.GetResponse();
                
if (Const.session == null)
                
{// 娉ㄩ攢鍚庤娓呴櫎Common.session
                    String cookie = response.GetResponseHeader("Set-Cookie");
                    
if (cookie != null)
                    
{
                        
int n = cookie.IndexOf(';');
                        
if (n > -1)  Const.session = cookie.Substring(0, n);
                    }

                }

浣跨敤
                if (Const.session == null)
                
{// 娉ㄩ攢鍚庤娓呴櫎Common.session
                    String cookie = response.GetResponseHeader("Set-Cookie");
                    
if (cookie != null)
                    
{
                        
int n = cookie.IndexOf(';');
                        
if (n > -1)  Const.session = cookie.Substring(0, n);
                    }

                }
鍙互鑾峰緱騫朵繚瀛樼綉绔欏垎閰嶇殑Session淇℃伅

榪欐牱姣忔璁塊棶鎸囧畾url鐨勬椂鍊欏氨鍙互鍏堢敤
                if (Const.session != null)
                
{
                    request.Headers.Add(
"Cookie", Const.session);
                }
鏉ユ坊鍔燙ookie錛屽皢宸茶幏寰桽ession淇℃伅鍙戦佸埌緗戠珯銆?

TiGERTiAN 2008-10-04 10:41 鍙戣〃璇勮
]]>
HttpWebRequest浣跨敤娉ㄦ剰錛堝彂鐢熼樆濉炵殑瑙e喅鍔炴硶錛?/title><link>http://m.tkk7.com/TiGERTiAN/archive/2008/09/08/227708.html</link><dc:creator>TiGERTiAN</dc:creator><author>TiGERTiAN</author><pubDate>Mon, 08 Sep 2008 04:52:00 GMT</pubDate><guid>http://m.tkk7.com/TiGERTiAN/archive/2008/09/08/227708.html</guid><wfw:comment>http://m.tkk7.com/TiGERTiAN/comments/227708.html</wfw:comment><comments>http://m.tkk7.com/TiGERTiAN/archive/2008/09/08/227708.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://m.tkk7.com/TiGERTiAN/comments/commentRss/227708.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/TiGERTiAN/services/trackbacks/227708.html</trackback:ping><description><![CDATA[<div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #000000">HttpWebRequest myRequest </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            HttpWebResponse myResponse </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            Stream reqStream </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">; <br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            Stream resStream </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            </span><span style="color: #0000ff">try</span><span style="color: #000000"><br /> <img id="Codehighlighter1_184_1249_Open_Image" onclick="this.style.display='none'; Codehighlighter1_184_1249_Open_Text.style.display='none'; Codehighlighter1_184_1249_Closed_Image.style.display='inline'; Codehighlighter1_184_1249_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_184_1249_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_184_1249_Closed_Text.style.display='none'; Codehighlighter1_184_1249_Open_Image.style.display='inline'; Codehighlighter1_184_1249_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />            </span><span id="Codehighlighter1_184_1249_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_184_1249_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">byte</span><span style="color: #000000">[] data </span><span style="color: #000000">=</span><span style="color: #000000"> System.Text.Encoding.Default.GetBytes(param);<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="color: #008000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="color: #000000">                myRequest </span><span style="color: #000000">=</span><span style="color: #000000"> (HttpWebRequest)WebRequest.Create(url);<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                myRequest.Method </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">POST</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                myRequest.KeepAlive </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">true</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                myRequest.ContentType </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">application/octet-stream</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                myRequest.ContentLength </span><span style="color: #000000">=</span><span style="color: #000000"> data.Length;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                reqStream </span><span style="color: #000000">=</span><span style="color: #000000"> myRequest.GetRequestStream();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                reqStream.Write(data, </span><span style="color: #000000">0</span><span style="color: #000000">, data.Length);<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                reqStream.Close();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                myResponse </span><span style="color: #000000">=</span><span style="color: #000000"> (HttpWebResponse)myRequest.GetResponse();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                resStream </span><span style="color: #000000">=</span><span style="color: #000000"> myResponse.GetResponseStream();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                data </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> </span><span style="color: #0000ff">byte</span><span style="color: #000000">[</span><span style="color: #000000">512</span><span style="color: #000000">];<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">int</span><span style="color: #000000"> count </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                UIFactory.zZRK_MODIForm.memStream </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> MemoryStream();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">while</span><span style="color: #000000"> ((count </span><span style="color: #000000">=</span><span style="color: #000000"> resStream.Read(data, </span><span style="color: #000000">0</span><span style="color: #000000">, data.Length)) </span><span style="color: #000000">></span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_1088_1183_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1088_1183_Open_Text.style.display='none'; Codehighlighter1_1088_1183_Closed_Image.style.display='inline'; Codehighlighter1_1088_1183_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1088_1183_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1088_1183_Closed_Text.style.display='none'; Codehighlighter1_1088_1183_Open_Image.style.display='inline'; Codehighlighter1_1088_1183_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />                </span><span id="Codehighlighter1_1088_1183_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1088_1183_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                    UIFactory.zZRK_MODIForm.memStream.Write(data, </span><span style="color: #000000">0</span><span style="color: #000000">, count);<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />                }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                resStream.Close();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                <br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />            }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            </span><span style="color: #0000ff">catch</span><span style="color: #000000"><br /> <img id="Codehighlighter1_1281_1295_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1281_1295_Open_Text.style.display='none'; Codehighlighter1_1281_1295_Closed_Image.style.display='inline'; Codehighlighter1_1281_1295_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_1281_1295_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1281_1295_Closed_Text.style.display='none'; Codehighlighter1_1281_1295_Open_Image.style.display='inline'; Codehighlighter1_1281_1295_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />            </span><span id="Codehighlighter1_1281_1295_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1281_1295_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />            }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            </span><span style="color: #0000ff">finally</span><span style="color: #000000"><br /> <img id="Codehighlighter1_1329_1687_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1329_1687_Open_Text.style.display='none'; Codehighlighter1_1329_1687_Closed_Image.style.display='inline'; Codehighlighter1_1329_1687_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_1329_1687_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1329_1687_Closed_Text.style.display='none'; Codehighlighter1_1329_1687_Open_Image.style.display='inline'; Codehighlighter1_1329_1687_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />            </span><span id="Codehighlighter1_1329_1687_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1329_1687_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">if</span><span style="color: #000000"> (resStream </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_1386_1443_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1386_1443_Open_Text.style.display='none'; Codehighlighter1_1386_1443_Closed_Image.style.display='inline'; Codehighlighter1_1386_1443_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1386_1443_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1386_1443_Closed_Text.style.display='none'; Codehighlighter1_1386_1443_Open_Image.style.display='inline'; Codehighlighter1_1386_1443_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />                </span><span id="Codehighlighter1_1386_1443_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1386_1443_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                    resStream.Close();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />                }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">if</span><span style="color: #000000"> (reqStream </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_1500_1557_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1500_1557_Open_Text.style.display='none'; Codehighlighter1_1500_1557_Closed_Image.style.display='inline'; Codehighlighter1_1500_1557_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1500_1557_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1500_1557_Closed_Text.style.display='none'; Codehighlighter1_1500_1557_Open_Image.style.display='inline'; Codehighlighter1_1500_1557_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />                </span><span id="Codehighlighter1_1500_1557_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1500_1557_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                    reqStream.Close();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />                }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">if</span><span style="color: #000000"> (myResponse </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_1615_1673_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1615_1673_Open_Text.style.display='none'; Codehighlighter1_1615_1673_Closed_Image.style.display='inline'; Codehighlighter1_1615_1673_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1615_1673_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1615_1673_Closed_Text.style.display='none'; Codehighlighter1_1615_1673_Open_Image.style.display='inline'; Codehighlighter1_1615_1673_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />                </span><span id="Codehighlighter1_1615_1673_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1615_1673_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                    myResponse.Close();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />                }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />            }</span></span></div> 澶у鐪嬩笅榪欐紼嬪簭錛屾湁闂鍚楋紵涔嶄竴鐪嬶紝濂藉儚娌℃湁浠涔堥棶棰橈紝鎵鏈夌殑嫻侀兘閲婃斁浜嗭紝Response涔熼噴鏀句簡銆傘備笉榪囧鏋滀綘鍐欎釜寰幆鏃犻檺嬈″彂璧瘋姹傦紝浣犱細鍙戠幇錛岃繍琛屼笉浜嗗嚑嬈″氨闃誨浜嗐備負浠涔堝憿錛熷ぇ瀹剁湅涓嬮潰鐨勪唬鐮?br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #000000">HttpWebRequest myRequest </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            HttpWebResponse myResponse </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            Stream reqStream </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">; <br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            Stream resStream </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            </span><span style="color: #0000ff">try</span><span style="color: #000000"><br /> <img id="Codehighlighter1_184_1249_Open_Image" onclick="this.style.display='none'; Codehighlighter1_184_1249_Open_Text.style.display='none'; Codehighlighter1_184_1249_Closed_Image.style.display='inline'; Codehighlighter1_184_1249_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_184_1249_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_184_1249_Closed_Text.style.display='none'; Codehighlighter1_184_1249_Open_Image.style.display='inline'; Codehighlighter1_184_1249_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />            </span><span id="Codehighlighter1_184_1249_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_184_1249_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">byte</span><span style="color: #000000">[] data </span><span style="color: #000000">=</span><span style="color: #000000"> System.Text.Encoding.Default.GetBytes(param);<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #008000">//</span><span style="color: #008000">鎯蟲湇鍔″櫒绔彂閫佽姹傦紝鑾峰彇鐓х墖淇℃伅</span><span style="color: #008000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /></span><span style="color: #000000">                myRequest </span><span style="color: #000000">=</span><span style="color: #000000"> (HttpWebRequest)WebRequest.Create(url);<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                myRequest.Method </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">POST</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                myRequest.KeepAlive </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">true</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                myRequest.ContentType </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">application/octet-stream</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                myRequest.ContentLength </span><span style="color: #000000">=</span><span style="color: #000000"> data.Length;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                reqStream </span><span style="color: #000000">=</span><span style="color: #000000"> myRequest.GetRequestStream();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                reqStream.Write(data, </span><span style="color: #000000">0</span><span style="color: #000000">, data.Length);<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                reqStream.Close();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                myResponse </span><span style="color: #000000">=</span><span style="color: #000000"> (HttpWebResponse)myRequest.GetResponse();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                resStream </span><span style="color: #000000">=</span><span style="color: #000000"> myResponse.GetResponseStream();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                data </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> </span><span style="color: #0000ff">byte</span><span style="color: #000000">[</span><span style="color: #000000">512</span><span style="color: #000000">];<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">int</span><span style="color: #000000"> count </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">;<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                UIFactory.zZRK_MODIForm.memStream </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> MemoryStream();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">while</span><span style="color: #000000"> ((count </span><span style="color: #000000">=</span><span style="color: #000000"> resStream.Read(data, </span><span style="color: #000000">0</span><span style="color: #000000">, data.Length)) </span><span style="color: #000000">></span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_1088_1183_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1088_1183_Open_Text.style.display='none'; Codehighlighter1_1088_1183_Closed_Image.style.display='inline'; Codehighlighter1_1088_1183_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1088_1183_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1088_1183_Closed_Text.style.display='none'; Codehighlighter1_1088_1183_Open_Image.style.display='inline'; Codehighlighter1_1088_1183_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />                </span><span id="Codehighlighter1_1088_1183_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1088_1183_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                    UIFactory.zZRK_MODIForm.memStream.Write(data, </span><span style="color: #000000">0</span><span style="color: #000000">, count);<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />                }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                resStream.Close();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                <br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />            }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            </span><span style="color: #0000ff">catch</span><span style="color: #000000"><br /> <img id="Codehighlighter1_1281_1295_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1281_1295_Open_Text.style.display='none'; Codehighlighter1_1281_1295_Closed_Image.style.display='inline'; Codehighlighter1_1281_1295_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_1281_1295_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1281_1295_Closed_Text.style.display='none'; Codehighlighter1_1281_1295_Open_Image.style.display='inline'; Codehighlighter1_1281_1295_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />            </span><span id="Codehighlighter1_1281_1295_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1281_1295_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />            }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" />            </span><span style="color: #0000ff">finally</span><span style="color: #000000"><br /> <img id="Codehighlighter1_1329_1801_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1329_1801_Open_Text.style.display='none'; Codehighlighter1_1329_1801_Closed_Image.style.display='inline'; Codehighlighter1_1329_1801_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_1329_1801_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1329_1801_Closed_Text.style.display='none'; Codehighlighter1_1329_1801_Open_Image.style.display='inline'; Codehighlighter1_1329_1801_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />            </span><span id="Codehighlighter1_1329_1801_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1329_1801_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">if</span><span style="color: #000000"> (resStream </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_1386_1443_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1386_1443_Open_Text.style.display='none'; Codehighlighter1_1386_1443_Closed_Image.style.display='inline'; Codehighlighter1_1386_1443_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1386_1443_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1386_1443_Closed_Text.style.display='none'; Codehighlighter1_1386_1443_Open_Image.style.display='inline'; Codehighlighter1_1386_1443_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />                </span><span id="Codehighlighter1_1386_1443_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1386_1443_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                    resStream.Close();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />                }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">if</span><span style="color: #000000"> (reqStream </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_1500_1557_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1500_1557_Open_Text.style.display='none'; Codehighlighter1_1500_1557_Closed_Image.style.display='inline'; Codehighlighter1_1500_1557_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1500_1557_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1500_1557_Closed_Text.style.display='none'; Codehighlighter1_1500_1557_Open_Image.style.display='inline'; Codehighlighter1_1500_1557_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />                </span><span id="Codehighlighter1_1500_1557_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1500_1557_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                    reqStream.Close();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />                }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">if</span><span style="color: #000000"> (myResponse </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_1615_1673_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1615_1673_Open_Text.style.display='none'; Codehighlighter1_1615_1673_Closed_Image.style.display='inline'; Codehighlighter1_1615_1673_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1615_1673_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1615_1673_Closed_Text.style.display='none'; Codehighlighter1_1615_1673_Open_Image.style.display='inline'; Codehighlighter1_1615_1673_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />                </span><span id="Codehighlighter1_1615_1673_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1615_1673_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                    myResponse.Close();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />                }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                </span><span style="color: #0000ff">if</span><span style="color: #000000"> (myRequest </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_1730_1787_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1730_1787_Open_Text.style.display='none'; Codehighlighter1_1730_1787_Closed_Image.style.display='inline'; Codehighlighter1_1730_1787_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_1730_1787_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1730_1787_Closed_Text.style.display='none'; Codehighlighter1_1730_1787_Open_Image.style.display='inline'; Codehighlighter1_1730_1787_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" />                </span><span id="Codehighlighter1_1730_1787_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_1730_1787_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                    myRequest.Abort();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" />                }</span></span><span style="color: #000000"><br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />            }</span></span></div> 澶氫簡浜涗粈涔堬紵澶氫簡榪欎釜<br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img alt="" src="http://m.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #000000">                </span><span style="color: #0000ff">if</span><span style="color: #000000"> (myRequest </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_55_112_Open_Image" onclick="this.style.display='none'; Codehighlighter1_55_112_Open_Text.style.display='none'; Codehighlighter1_55_112_Closed_Image.style.display='inline'; Codehighlighter1_55_112_Closed_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_55_112_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_55_112_Closed_Text.style.display='none'; Codehighlighter1_55_112_Open_Image.style.display='inline'; Codehighlighter1_55_112_Open_Text.style.display='inline';" alt="" src="http://m.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" />                </span><span id="Codehighlighter1_55_112_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img alt="" src="http://m.tkk7.com/Images/dot.gif" /></span><span id="Codehighlighter1_55_112_Open_Text"><span style="color: #000000">{<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" />                    myRequest.Abort();<br /> <img alt="" src="http://m.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />                }</span></span></div> 鍏跺疄寰堝鏃跺欓噴鏀句簡Stream鍜孯esponse榪樹笉澶燂紝瀹㈡埛绔殑Request榪樻槸鍦ㄤ繚鎸佺潃錛岄渶瑕佺瓑鍨冨溇鍥炴敹鍣ㄦ潵鍥炴敹錛屾墍浠ヤ竴鑸緢瀹規槗闃誨錛屽鑷磋姹傚彂閫佷笉鍑哄幓銆傚姞涓婅繖涓氨鏄HttpWebRequest瀹炰緥鍦ㄤ笉闇瑕佺殑鏃跺欏強鏃墮噴鏀捐祫婧愩傝繖鏍峰彲浠ラ噸澶嶄嬌鐢ㄨ屼笉浼氶樆濉炪? <img src ="http://m.tkk7.com/TiGERTiAN/aggbug/227708.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/TiGERTiAN/" target="_blank">TiGERTiAN</a> 2008-09-08 12:52 <a href="http://m.tkk7.com/TiGERTiAN/archive/2008/09/08/227708.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://tiantangapp.com" target="_blank">国产在线观看免费视频软件</a>| <a href="http://uiui6.com" target="_blank">最新亚洲人成网站在线观看</a>| <a href="http://87fulitv.com" target="_blank">永久免费AV无码网站国产</a>| <a href="http://717795.com" target="_blank">亚洲精品国精品久久99热</a>| <a href="http://9v9av.com" target="_blank">新最免费影视大全在线播放</a>| <a href="http://www-xg5777.com" target="_blank">免费国产a国产片高清</a>| <a href="http://jiujiujingpin.com" target="_blank">黄色毛片视频免费</a>| <a href="http://655060.com" target="_blank">亚洲欧洲日产国码高潮αv</a>| <a href="http://www-yhty.com" target="_blank">一级中文字幕免费乱码专区</a>| <a href="http://9v9av.com" target="_blank">国产性爱在线观看亚洲黄色一级片</a>| <a href="http://3789re.com" target="_blank">sss在线观看免费高清</a>| <a href="http://yy6653.com" target="_blank">亚洲国产精品无码专区</a>| <a href="http://ghiearning.com" target="_blank">久久久久久一品道精品免费看 </a>| <a href="http://chenglide.com" target="_blank">看亚洲a级一级毛片</a>| <a href="http://mt181.com" target="_blank">亚洲精品视频在线观看你懂的</a>| <a href="http://www-01313.com" target="_blank">一级做a爰黑人又硬又粗免费看51社区国产精品视</a>| <a href="http://wwwyy763.com" target="_blank">国产免费观看黄AV片</a>| <a href="http://bjgjjrxy.com" target="_blank">特级做a爰片毛片免费看</a>| <a href="http://www769393.com" target="_blank">亚洲日韩一页精品发布</a>| <a href="http://339258.com" target="_blank">无码囯产精品一区二区免费</a>| <a href="http://zjj100.com" target="_blank">亚洲天堂一区二区三区四区</a>| <a href="http://jnyygs.com" target="_blank">国内自产少妇自拍区免费</a>| <a href="http://whdy888.com" target="_blank">爱情岛论坛免费视频</a>| <a href="http://zhaosifuwang.com" target="_blank">亚洲精品乱码久久久久久按摩</a>| <a href="http://dzhyyy.com" target="_blank">免费无码中文字幕A级毛片</a>| <a href="http://dslygc.com" target="_blank">亚洲天堂2016</a>| <a href="http://yzddcpj.com" target="_blank">丁香亚洲综合五月天婷婷</a>| <a href="http://dt677.com" target="_blank">a色毛片免费视频</a>| <a href="http://nibayuan.com" target="_blank">亚洲码一区二区三区</a>| <a href="http://zzhdrsqwx.com" target="_blank">国产免费av片在线无码免费看</a>| <a href="http://172pk.com" target="_blank">国产福利电影一区二区三区,免费久久久久久久精 </a>| <a href="http://junyehome.com" target="_blank">亚洲午夜未满十八勿入</a>| <a href="http://xjtuykw.com" target="_blank">67194熟妇在线永久免费观看</a>| <a href="http://58f8.com" target="_blank">国产成人精品久久亚洲高清不卡</a>| <a href="http://pumanpig.com" target="_blank">亚洲综合久久夜AV </a>| <a href="http://cdlsy.com" target="_blank">95老司机免费福利</a>| <a href="http://av56cc.com" target="_blank">在线观看免费亚洲</a>| <a href="http://472849.com" target="_blank">亚洲最大福利视频网站</a>| <a href="http://bjdxpx.com" target="_blank">国产成人一区二区三区免费视频</a>| <a href="http://semaopu.com" target="_blank">免费a级毛片无码a∨免费软件</a>| <a href="http://caopropp.com" target="_blank">www.亚洲成在线</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>