Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
Generaldatagridview Pin
arkiboys17-Dec-07 0:32
arkiboys17-Dec-07 0:32 
GeneralMac address ......... Pin
sindhutiwari16-Dec-07 23:56
sindhutiwari16-Dec-07 23:56 
GeneralRe: Mac address ......... Pin
Vasudevan Deepak Kumar17-Dec-07 0:40
Vasudevan Deepak Kumar17-Dec-07 0:40 
GeneralRe: Mac address ......... Pin
sindhutiwari17-Dec-07 1:17
sindhutiwari17-Dec-07 1:17 
GeneralRe: Mac address ......... Pin
Colin Angus Mackay17-Dec-07 1:50
Colin Angus Mackay17-Dec-07 1:50 
GeneralRe: Mac address ......... Pin
sindhutiwari17-Dec-07 2:00
sindhutiwari17-Dec-07 2:00 
GeneralRe: Mac address ......... Pin
m@u17-Dec-07 2:24
m@u17-Dec-07 2:24 
GeneralRe: Mac address ......... [modified] Pin
DaveyM6917-Dec-07 9:32
professionalDaveyM6917-Dec-07 9:32 
Each network adapter has it's own MAC Address. If i remember correctly - the primary one is at index [2] in the array returned.

Be sure to exception check as if there is only one and it's been disabled by the user you will run into problems. It doesn't need to be connected however.

In a command prompt window, type: ipconfig /all
and it lists all the MAC addresses on your system including all the useless info that you're getting in the other indexes.

http://www.codeproject.com/script/Forums/View.aspx?fid=1649&df=90&mpp=25&sort=Position&view=Quick&select=2349206&fr=1440#xx2349206xx[^]
modified on Wednesday, December 19, 2007 7:05:24 AM

Generalwriting excel cell values to generic list using c# Pin
ramyanaidu16-Dec-07 23:42
ramyanaidu16-Dec-07 23:42 
GeneralRe: writing excel cell values to generic list using c# [modified] Pin
Malcolm Smart17-Dec-07 0:21
Malcolm Smart17-Dec-07 0:21 
Generalvisual basic --> C# help needed Pin
tasumisra16-Dec-07 23:42
tasumisra16-Dec-07 23:42 
GeneralRe: visual basic --> C# help needed Pin
Malcolm Smart17-Dec-07 0:18
Malcolm Smart17-Dec-07 0:18 
JokeRe: visual basic --> C# help needed Pin
tasumisra17-Dec-07 0:23
tasumisra17-Dec-07 0:23 
GeneralRe: visual basic --> C# help needed Pin
Malcolm Smart17-Dec-07 0:36
Malcolm Smart17-Dec-07 0:36 
GeneralRe: visual basic --> C# help needed Pin
Paul Conrad24-Dec-07 20:00
professionalPaul Conrad24-Dec-07 20:00 
GeneralRe: visual basic --> C# help needed Pin
Malcolm Smart25-Dec-07 23:45
Malcolm Smart25-Dec-07 23:45 
GeneralRe: visual basic --> C# help needed Pin
Paul Conrad26-Dec-07 4:46
professionalPaul Conrad26-Dec-07 4:46 
GeneralRe: visual basic --> C# help needed Pin
tasumisra17-Dec-07 0:41
tasumisra17-Dec-07 0:41 
GeneralRe: visual basic --> C# help needed Pin
Pete O'Hanlon17-Dec-07 1:18
mvePete O'Hanlon17-Dec-07 1:18 
GeneralRe: visual basic --> C# help needed Pin
tasumisra17-Dec-07 1:24
tasumisra17-Dec-07 1:24 
GeneralRe: visual basic --> C# help needed Pin
Pete O'Hanlon17-Dec-07 1:58
mvePete O'Hanlon17-Dec-07 1:58 
GeneralRe: visual basic --> C# help needed Pin
tasumisra17-Dec-07 2:11
tasumisra17-Dec-07 2:11 
GeneralRe: visual basic --> C# help needed Pin
Paddy Boyd17-Dec-07 3:13
Paddy Boyd17-Dec-07 3:13 
GeneralRe: visual basic --> C# help needed Pin
Paul Conrad24-Dec-07 20:01
professionalPaul Conrad24-Dec-07 20:01 
GeneralRe: visual basic --> C# help needed Pin
blackjack215017-Dec-07 1:38
blackjack215017-Dec-07 1:38 

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.