The program is divided into three main sections
Get a list of local machine devices
Print List
Release Device List
Create a new project paste the following code
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/89/49/wKioL1gPCImRYfSuAACWmaKHQ2w252.png-wh_500x0-wm_3 -wmp_4-s_3283415594.png "title=" qq picture 20161025152315.png "alt=" wkiol1gpcimryfsuaacwmakhq2w252.png-wh_50 "style=" Padding:0px;margin:0px;vertical-align:top;border:none; "/>
and add Pcap header file
Then make the following changes to the settings
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/89/4C/wKiom1gPCNeQ0Ll3AABM32f-jj8452.png-wh_500x0-wm_3 -wmp_4-s_3182020743.png "title=" 2.png "alt=" wkiom1gpcneq0ll3aabm32f-jj8452.png-wh_50 "style=" padding:0px;margin:0 Px;vertical-align:top;border:none; "/>
The changes are as follows
650) this.width=650; "Src=" http://s2.51cto.com/wyfs02/M02/89/4C/wKiom1gPCRTg4E2EAABbyyI7q1c200.png-wh_500x0-wm_ 3-wmp_4-s_2195694503.png "title=" 3.png "alt=" wkiom1gpcrtg4e2eaabbyyi7q1c200.png-wh_50 "style=" Padding:0px;margin : 0px;vertical-align:top;border:none; "/>
650) this.width=650; "Src=" http://s2.51cto.com/wyfs02/M02/89/4A/wKioL1gPCWDD-XvRAABGt0KY6E0690.png-wh_500x0-wm_ 3-wmp_4-s_510388315.png "title=" 4.png "alt=" wkiol1gpcwdd-xvraabgt0ky6e0690.png-wh_50 "style=" padding:0px;margin:0 Px;vertical-align:top;border:none;float:none; "/>
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/89/4C/wKiom1gPCWHiKdNUAABljNS4Ers927.png-wh_500x0-wm_3 -wmp_4-s_3896230415.png "title=" 5.png "alt=" wkiom1gpcwhikdnuaabljns4ers927.png-wh_50 "style=" padding:0px;margin:0 Px;vertical-align:top;border:none;float:none; "/>
The experimental results can be retrieved using Ctrl+f5 as shown.
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/89/4C/wKiom1gPCaaTfOOAAAAtkJLP1o0351.png-wh_500x0-wm_3 -wmp_4-s_2830056468.png "title=" 888.png "alt=" wkiom1gpcaatfooaaaatkjlp1o0351.png-wh_50 "style=" Padding:0px;margin : 0px;vertical-align:top;border:none; "/>
Get a list of devices