Click here to Skip to main content
15,904,339 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Newbie - 2 questions Pin
David Mujica14-Jan-10 8:48
David Mujica14-Jan-10 8:48 
GeneralRe: Newbie - 2 questions Pin
Mike65432114-Jan-10 8:59
Mike65432114-Jan-10 8:59 
AnswerRe: Newbie - 2 questions Pin
Not Active14-Jan-10 9:48
mentorNot Active14-Jan-10 9:48 
QuestionHow to get mac address of a client system in asp.net Pin
mithun narayanan14-Jan-10 7:23
mithun narayanan14-Jan-10 7:23 
AnswerI was wrong a long time ago Pin
Ennis Ray Lynch, Jr.14-Jan-10 7:55
Ennis Ray Lynch, Jr.14-Jan-10 7:55 
AnswerRe: How to get mac address of a client system in asp.net Pin
Abhishek Sur14-Jan-10 10:09
professionalAbhishek Sur14-Jan-10 10:09 
QuestionRe: How to get mac address of a client system in asp.net Pin
mithun narayanan17-Jan-10 16:43
mithun narayanan17-Jan-10 16:43 
AnswerRe: How to get mac address of a client system in asp.net Pin
April Fans14-Jan-10 22:24
April Fans14-Jan-10 22:24 
Hi,try to do this.

using System.Management;

string stringMAC = "";

string stringIP = "";

ManagementClass MC = new ManagementClass "Win32_NetworkAdapterConfiguration");

ManagementObjectCollection MOC= MC.GetInstances();

foreach(ManagementObject MO in MOC)

{

if ((bool)MO["IPEnabled"] == true)

{

stringMAC += MO["MACAddress"].ToString();

TextMAC.Text = stringMAC.ToString();

string[] IPAddresses = (string[]) MO["IPAddress"];

if(IPAddresses.Length > 0)

stringIP = IPAddresses[0];

TextIP.Text = stringIP.ToString();

}

}
April

Comm100 - Leading Live Chat Software Provider


modified 27-May-14 8:54am.

GeneralRe: How to get mac address of a client system in asp.net Pin
mithun narayanan17-Jan-10 16:52
mithun narayanan17-Jan-10 16:52 
GeneralRe: How to get mac address of a client system in asp.net Pin
Abhishek Sur17-Jan-10 21:23
professionalAbhishek Sur17-Jan-10 21:23 
GeneralRe: How to get mac address of a client system in asp.net Pin
mithun narayanan18-Jan-10 7:03
mithun narayanan18-Jan-10 7:03 
AnswerRe: How to get mac address of a client system in asp.net Pin
April Fans17-Jan-10 16:36
April Fans17-Jan-10 16:36 
GeneralRe: How to get mac address of a client system in asp.net Pin
mithun narayanan17-Jan-10 16:53
mithun narayanan17-Jan-10 16:53 
QuestionAdd multiple values from the textbox into one cell (column) in Gridview Pin
Nopo14-Jan-10 3:57
Nopo14-Jan-10 3:57 
AnswerRe: Add multiple values from the textbox into one cell (column) in Gridview Pin
Not Active14-Jan-10 4:46
mentorNot Active14-Jan-10 4:46 
QuestionDoes anyone use the gsoap Pin
Fired.Fish.Gmail14-Jan-10 2:39
Fired.Fish.Gmail14-Jan-10 2:39 
AnswerRe: Does anyone use the gsoap Pin
Fired.Fish.Gmail14-Jan-10 15:01
Fired.Fish.Gmail14-Jan-10 15:01 
QuestionDynamic Template control and value persistence Pin
Shivan Nandan14-Jan-10 1:43
Shivan Nandan14-Jan-10 1:43 
AnswerRe: Dynamic Template control and value persistence Pin
Shivan Nandan14-Jan-10 19:05
Shivan Nandan14-Jan-10 19:05 
GeneralRe: Dynamic Template control and value persistence Pin
Ashfield14-Jan-10 21:32
Ashfield14-Jan-10 21:32 
AnswerRe: Dynamic Template control and value persistence Pin
April Fans14-Jan-10 22:19
April Fans14-Jan-10 22:19 
GeneralRe: Dynamic Template control and value persistence Pin
Shivan Nandan14-Jan-10 22:28
Shivan Nandan14-Jan-10 22:28 
Question32 bit dll issue on 64 bit Production Server Pin
Jeneesh K. Velayudhan13-Jan-10 23:01
Jeneesh K. Velayudhan13-Jan-10 23:01 
AnswerRe: 32 bit dll issue on 64 bit Production Server Pin
Brij13-Jan-10 23:24
mentorBrij13-Jan-10 23:24 
GeneralRe: 32 bit dll issue on 64 bit Production Server Pin
Jeneesh K. Velayudhan17-Jan-10 18:18
Jeneesh K. Velayudhan17-Jan-10 18:18 

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.