Click to See Complete Forum and Search --> : How do I get a MAC in C#


FaisalJ
March 18th, 2003, 03:41 AM
Any suggestions??????

pareshgh
March 18th, 2003, 12:44 PM
so you want to write a C#.NET on MAC machine ? is that your point is.

reffer to old archive
codeguru (http://www.codeguru.com/forum/showthread.php?threadid=229453)


Paresh

pareshgh
March 18th, 2003, 02:39 PM
forgot to mention that Rotor is available for the use in MAC OS. CLI is available for .NET Framework on MAC operating system.

you can check out

Rotor (http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=579)

Paresh

pareshgh
March 18th, 2003, 02:42 PM
check out
MSDN - MAC (http://www.microsoft.com/downloads/details.aspx?FamilyId=3A1C93FA-7462-47D0-8E56-8DD34C6292F0&displaylang=en#filelist)

;)

Paresh

pareshgh
March 18th, 2003, 02:44 PM
Rotor, Mono and .NET: Bridging the Gap on 3 Fronts - Academia,
Enthusiasts, and Business

In late 2001, with the approval of Microsoft's Common Language
Infrastructure specification by the ECMA, came a whole new possibility
for .NET. Not only were the underlying aspects of .NET fully
standardized, but one of its key languages, C#, was accepted as a
standard too! The promise of .NET became even more enormous! Third
parties could take this 523 page CLI specification and 498 page C#
specification and implement the inner workings of .NET on their own.
What the community saw nearly immediately was a dedicated interest to
have .NET working on other operating systems, namely several Linux
distributions. The goal of the Mono Project was to re-implement .NET
to its fullest so that Linux developers can finally be able to
interact with their Windows counterparts more easily. Further along,
Microsoft released a beta version (now final release) of the Rotor
Project. This was a "shared source" implementation of .NET for the
academic and enthusiast communities that runs on FreeBSD, Windows XP,
and even Mac OS X!

FaisalJ
March 18th, 2003, 09:44 PM
Sorry, my mistake...I should have said MAC address......Well.....Got any suggestions now???

MAC, Short for Media Access Control address, a hardware address that uniquely identifies each node of a network.

pareshgh
March 19th, 2003, 12:21 PM
so do you want the Media player in your application or what ? you need to elaborate it bit.

Paresh

phirestalker
March 19th, 2003, 03:21 PM
psssst paresh, I think he means the network MAC address of a Network Interface Card :)

FaisalJ
March 19th, 2003, 10:32 PM
Exactly.... :)

Any way I found this good article
http://www.codeguru.com/network/GetMAC.html

Someone has given the C# code as well
http://www.codeguru.com/mfc/comments/49119.shtml

But it uses the Unsafe code.........

Im looking for a pure C# way to get the address.

pareshgh
March 20th, 2003, 07:51 PM
i think the C# code will look preety much same on all platforms since only .NET CLR layer is changed.

Paresh