{"action":"created","issue":{"url":"https://api.github.com/repos/ahmedahamid/temp-after/issues/298","repository_url":"https://api.github.com/repos/ahmedahamid/temp-after","labels_url":"https://api.github.com/repos/ahmedahamid/temp-after/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/ahmedahamid/temp-after/issues/298/comments","events_url":"https://api.github.com/repos/ahmedahamid/temp-after/issues/298/events","html_url":"https://github.com/ahmedahamid/temp-after/issues/298","id":268254800,"number":298,"title":"Get mac address of physical NIC card from firmware & physical/virtual ethernet identification","user":{"login":"ahmedahamid","id":10718804,"avatar_url":"https://avatars3.githubusercontent.com/u/10718804?v=4","gravatar_id":"","url":"https://api.github.com/users/ahmedahamid","html_url":"https://github.com/ahmedahamid","followers_url":"https://api.github.com/users/ahmedahamid/followers","following_url":"https://api.github.com/users/ahmedahamid/following{/other_user}","gists_url":"https://api.github.com/users/ahmedahamid/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedahamid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedahamid/subscriptions","organizations_url":"https://api.github.com/users/ahmedahamid/orgs","repos_url":"https://api.github.com/users/ahmedahamid/repos","events_url":"https://api.github.com/users/ahmedahamid/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedahamid/received_events","type":"User","site_admin":false},"labels":[{"id":729915683,"url":"https://api.github.com/repos/ahmedahamid/temp-after/labels/bug","name":"bug","color":"ee0701","default":true},{"id":729916160,"url":"https://api.github.com/repos/ahmedahamid/temp-after/labels/CodePlexMigrationInitiated","name":"CodePlexMigrationInitiated","color":"ededed","default":false},{"id":729948940,"url":"https://api.github.com/repos/ahmedahamid/temp-after/labels/Impact:%20Low","name":"Impact: Low","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-10-25T03:26:02Z","updated_at":"2017-10-25T03:28:01Z","closed_at":null,"author_association":"OWNER","body":"Hi,\n \nI need a small shell based program that prints the mac address of physical ethernet adapter from it's firmware. I need this utility for license generation and appliance activation. I have tried several example but none of them is flawless, The easiest method I have found is to parese the output of \"ipconfig /all\" command but it has also some drawbacks, finally I am here at MS and hoping that people might help me out. More description:\n\nFirstly program should differentiate between physical and virtual adapters. Physical means installed on board(wired or wireless) or installed additionally. Virtual adapters are those created by VPN or created by virtualization apps such as VirtualBox/VMWare etc. I am not interested in virtual ones.\nIn case of more them one physical adapters(wired and wireless), it should print the mac address and description(name & vendor) of both/all adapters.\nIf media is disconnected then also it should be able to read the mac address and description(name, vendor) of card.\nThis one is bit complex. I have heard there are tools and utility available that changes the mac address to desired one. Although I am not into hardware or network programming but I suppose that even if mac address is changed by some utility, still you can read the mac address that is burned into firmware.\nUtility should supports 2k/xp/vista/7 (32/64bit) .\n \nBest Regards\n \nPrashant\n\n\r\n\r\n#### Attachments\r\n[getmac.zip](https://www.codeplex.com/Download/AttachmentDownload.ashx?ProjectName=1code&WorkItemId=8607&FileAttachmentId=3286)\r\n\r\n#### This work item was migrated from CodePlex\r\nCodePlex work item ID: '8607'\r\nVote count: '3'\r\n"},"comment":{"url":"https://api.github.com/repos/ahmedahamid/temp-after/issues/comments/339203108","html_url":"https://github.com/ahmedahamid/temp-after/issues/298#issuecomment-339203108","issue_url":"https://api.github.com/repos/ahmedahamid/temp-after/issues/298","id":339203108,"user":{"login":"ahmedahamid","id":10718804,"avatar_url":"https://avatars3.githubusercontent.com/u/10718804?v=4","gravatar_id":"","url":"https://api.github.com/users/ahmedahamid","html_url":"https://github.com/ahmedahamid","followers_url":"https://api.github.com/users/ahmedahamid/followers","following_url":"https://api.github.com/users/ahmedahamid/following{/other_user}","gists_url":"https://api.github.com/users/ahmedahamid/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmedahamid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmedahamid/subscriptions","organizations_url":"https://api.github.com/users/ahmedahamid/orgs","repos_url":"https://api.github.com/users/ahmedahamid/repos","events_url":"https://api.github.com/users/ahmedahamid/events{/privacy}","received_events_url":"https://api.github.com/users/ahmedahamid/received_events","type":"User","site_admin":false},"created_at":"2017-10-25T03:28:01Z","updated_at":"2017-10-25T03:28:01Z","author_association":"OWNER","body":"[anarki@4/8/2011]\r\nHi orichisonic,\r\nI was looking for DeviceIoControl() and createfile() as per you suggestion and found this:\r\nhttp://www.winvistatips.com/oid_xxx_permanent_address-does-not-work-network-adpaters-and-cisco-vpn-t190270.html\r\nIs this is the correct way?\r\nLater in the post user said that this method is failed to differentiate between virtual and physical adapter. Is there anything missing in this example? I tried building the solution using VS 2005 but lots of error. The file is attached.\r\n\r\nCheers\r\nPrashant\r\n\r\n"}}
{"actor":{"display_login":"ahmedahamid"}}