Get a list of devices

Source: Internet
Author: User

The program is divided into three main sections

    1. Get a list of local machine devices

    2. Print List

    3. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.