Click here to Skip to main content
14,265,979 members

.NET Framework

 
AnswerRe: Get visited urls from firefox and chrome in xp and windows 7 and store to remote database Pin
Dave Kreskowiak11-Apr-18 5:45
mveDave Kreskowiak11-Apr-18 5:45 
AnswerRe: Get visited urls from firefox and chrome in xp and windows 7 and store to remote database Pin
Gerry Schmitz11-Apr-18 5:48
mveGerry Schmitz11-Apr-18 5:48 
AnswerRe: Get visited urls from firefox and chrome in xp and windows 7 and store to remote database Pin
jschell14-Apr-18 5:40
memberjschell14-Apr-18 5:40 
Question"No exports were found that match the constraint" error is happening when trying to modify WCF Service Web.Config Pin
indian14326-Mar-18 7:31
memberindian14326-Mar-18 7:31 
AnswerRe: "No exports were found that match the constraint" error is happening when trying to modify WCF Service Web.Config Pin
Richard Deeming26-Mar-18 8:22
mveRichard Deeming26-Mar-18 8:22 
QuestionMessage Closed Pin
24-Mar-18 5:47
memberserpzen-pakar-seo24-Mar-18 5:47 
RantRe: What is reflector? Pin
Eddy Vluggen24-Mar-18 6:51
mveEddy Vluggen24-Mar-18 6:51 
QuestionGet MAC address only from internal ethernet connection Pin
blueye8923-Mar-18 11:58
memberblueye8923-Mar-18 11:58 
Hello to all,
I am struggling to find a way to get MAC address ONLY from the ethernet card in my PC.
It's easy when my PC is not connected on the VPN:
 Function getMacAddress()
        Dim nics() As NetworkInterface = _
              NetworkInterface.GetAllNetworkInterfaces
        Return nics(0).GetPhysicalAddress.ToString
End Function

But if it's already connected then the first (0) device is ethernet card of the server that I'm connected and my ethernet is second (1) device so I don't know how to determine.

This is showed on the image on this link: https://postimg.org/image/4ndewjjhz/

Any help is very appreciated!
AnswerRe: Get MAC address only from internal ethernet connection Pin
Dave Kreskowiak23-Mar-18 13:44
mveDave Kreskowiak23-Mar-18 13:44 
GeneralRe: Get MAC address only from internal ethernet connection Pin
blueye8924-Mar-18 7:32
memberblueye8924-Mar-18 7:32 
GeneralRe: Get MAC address only from internal ethernet connection Pin
Dave Kreskowiak24-Mar-18 7:41
mveDave Kreskowiak24-Mar-18 7:41 
GeneralRe: Get MAC address only from internal ethernet connection Pin
blueye8924-Mar-18 8:59
memberblueye8924-Mar-18 8:59 
GeneralRe: Get MAC address only from internal ethernet connection Pin
Dave Kreskowiak24-Mar-18 9:21
mveDave Kreskowiak24-Mar-18 9:21 
GeneralRe: Get MAC address only from internal ethernet connection Pin
blueye8924-Mar-18 9:29
memberblueye8924-Mar-18 9:29 
QuestionBest Practice Question When Enumerating Directories Pin
Alan Burkhart22-Mar-18 5:24
memberAlan Burkhart22-Mar-18 5:24 
AnswerRe: Best Practice Question When Enumerating Directories Pin
Gerry Schmitz22-Mar-18 5:52
mveGerry Schmitz22-Mar-18 5:52 
SuggestionRe: Best Practice Question When Enumerating Directories Pin
Richard MacCutchan22-Mar-18 5:56
protectorRichard MacCutchan22-Mar-18 5:56 
GeneralRe: Best Practice Question When Enumerating Directories Pin
Alan Burkhart22-Mar-18 11:39
memberAlan Burkhart22-Mar-18 11:39 
GeneralRe: Best Practice Question When Enumerating Directories Pin
Richard MacCutchan22-Mar-18 23:02
protectorRichard MacCutchan22-Mar-18 23:02 
GeneralRe: Best Practice Question When Enumerating Directories Pin
Alan Burkhart23-Mar-18 8:31
memberAlan Burkhart23-Mar-18 8:31 
AnswerRe: Best Practice Question When Enumerating Directories Pin
Eddy Vluggen22-Mar-18 6:55
mveEddy Vluggen22-Mar-18 6:55 
GeneralRe: Best Practice Question When Enumerating Directories Pin
Alan Burkhart22-Mar-18 11:40
memberAlan Burkhart22-Mar-18 11:40 
QuestionVb.net delete rows based on search criteria Pin
Andiko21-Mar-18 23:11
memberAndiko21-Mar-18 23:11 
AnswerRe: Vb.net delete rows based on search criteria Pin
Gerry Schmitz22-Mar-18 6:00
mveGerry Schmitz22-Mar-18 6:00 
GeneralRe: Vb.net delete rows based on search criteria Pin
Andiko22-Mar-18 22:20
memberAndiko22-Mar-18 22:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.