Click here to Skip to main content
15,905,776 members
Home / Discussions / C#
   

C#

 
GeneralRe: set child form height Pin
arkiboys9-Jan-08 3:13
arkiboys9-Jan-08 3:13 
GeneralRe: set child form height Pin
DaveyM699-Jan-08 3:24
professionalDaveyM699-Jan-08 3:24 
GeneralRe: set child form height Pin
Stu Richardson9-Jan-08 3:27
Stu Richardson9-Jan-08 3:27 
GeneralRe: set child form height Pin
arkiboys9-Jan-08 3:27
arkiboys9-Jan-08 3:27 
GeneralRe: set child form height Pin
Dave Kreskowiak9-Jan-08 4:59
mveDave Kreskowiak9-Jan-08 4:59 
GeneralRe: set child form height Pin
DaveyM6910-Jan-08 1:12
professionalDaveyM6910-Jan-08 1:12 
GeneralGet GUID of Network Card Pin
Kamal.Afridi9-Jan-08 1:48
Kamal.Afridi9-Jan-08 1:48 
GeneralRe: Get GUID of Network Card Pin
Pete O'Hanlon9-Jan-08 2:07
mvePete O'Hanlon9-Jan-08 2:07 
GUID of network card? Do you mean the Mac Address? If so, you can use WMI to retrieve it:
public string GetMACAddress() 
{ 
  ManagementClass mc = new ManagementClass("Win32_NetworkAdapterConfiguration"); 
  ManagementObjectCollection moc = mc.GetInstances(); 
  string address = string.Empty; 
  foreach (ManagementObject mo in moc) 
  { 
    if (MACAddress == string.Empty)
    {
      if ((bool)mo["IPEnabled"] == true) 
        address = mo["MacAddress"].ToString(); 
    } 
    mo.Dispose(); 
  } 
  address = address.Replace(":", string.Empty); 
  return address; 
} 



Deja View - the feeling that you've seen this post before.

My blog | My articles



GeneralRe: Get GUID of Network Card Pin
Kamal.Afridi9-Jan-08 20:01
Kamal.Afridi9-Jan-08 20:01 
GeneralEXE To display within a Form Pin
ziwez09-Jan-08 0:53
ziwez09-Jan-08 0:53 
GeneralRe: EXE To display within a Form Pin
Thomas Stockwell10-Jan-08 6:16
professionalThomas Stockwell10-Jan-08 6:16 
QuestionDATAGRIDVIEW Pin
usyra429-Jan-08 0:52
usyra429-Jan-08 0:52 
GeneralRe: DATAGRIDVIEW Pin
led mike9-Jan-08 4:35
led mike9-Jan-08 4:35 
GeneralRe: DATAGRIDVIEW Pin
DotNetXenon9-Jan-08 4:35
DotNetXenon9-Jan-08 4:35 
GeneralwebClient.Headers.Add(string key, string value) behaves strange if 'key' has a square bracket in it? ([]) Pin
mightyCoCo9-Jan-08 0:04
mightyCoCo9-Jan-08 0:04 
Questionhow to add Item to binded comboBox ? Pin
hdv2128-Jan-08 23:53
hdv2128-Jan-08 23:53 
AnswerRe: how to add Item to binded comboBox ? Pin
pmarfleet9-Jan-08 1:21
pmarfleet9-Jan-08 1:21 
GeneralRe: how to add Item to binded comboBox ? Pin
hdv2129-Jan-08 1:27
hdv2129-Jan-08 1:27 
AnswerRe: how to add Item to binded comboBox ? Pin
darkelv9-Jan-08 13:15
darkelv9-Jan-08 13:15 
Questionhow to address the situation of closing the form Pin
prasadbuddhika8-Jan-08 23:33
prasadbuddhika8-Jan-08 23:33 
AnswerRe: how to address the situation of closing the form Pin
sujithkumarsl8-Jan-08 23:35
sujithkumarsl8-Jan-08 23:35 
GeneralRe: how to address the situation of closing the form Pin
prasadbuddhika9-Jan-08 0:35
prasadbuddhika9-Jan-08 0:35 
GeneralRe: how to address the situation of closing the form Pin
MickCurley9-Jan-08 0:54
MickCurley9-Jan-08 0:54 
GeneralRe: how to address the situation of closing the form Pin
prasadbuddhika9-Jan-08 0:56
prasadbuddhika9-Jan-08 0:56 
GeneralRe: how to address the situation of closing the form Pin
Giorgi Dalakishvili9-Jan-08 0:59
mentorGiorgi Dalakishvili9-Jan-08 0:59 

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.