Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
' MAC Vendor lookup - based on the C# sample.
|
||||
|
||||
Imports System
|
||||
Imports System.Net
|
||||
|
||||
Module LookupMac
|
||||
|
||||
Public Sub Main(args() As String)
|
||||
|
||||
Dim macAddress As String = If(args.Length < 1, "88:53:2E:67:07:BE", args(0))
|
||||
Dim uri As New Uri("http://api.macvendors.com/" & WebUtility.UrlEncode(macAddress))
|
||||
Dim wc As New WebClient()
|
||||
Console.Out.WriteLine(macAddress & " " & wc.DownloadString(uri))
|
||||
|
||||
End Sub
|
||||
|
||||
End Module
|
||||
Loading…
Add table
Add a link
Reference in a new issue