Dreamz

Hi,

I have problem here. There are two solutions for that .

Any one solution would be fine.

Currently I have the code to get the Device Id from a Device(code is on hand held,.net CF)

I also have c# stuff which uses ManagedC++ to get the Mac Id of the devive connected to desk top. This is a desk top application.

1. I dont have the code get the MAC Id from the comapact framework(Currently this gerts Device ID)

2. I dont have code to get the Device ID connected to PC through desktop application(Currently this gets Mac ID)

Please let me know where can find that code which will solve the problem.

As I sdaid one solution is sufficeint.

Thanks and Regards,

Sudheer.K



Re: Smart Devices General Device Id , MAC ID

Guang-Ming Bian - MSFT

Hi Sudheer.K

This issue has been discussed in the forum, you can use CeGetDeviceId method to get the device ID.

For more information,click link below:

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2048738&SiteID=1

How to use CeGetDeviceId mehtod, click the link below:

http://msdn2.microsoft.com/en-us/library/ms827510.aspx

There are a couple of similar issues,Please click the link below:

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=714224&SiteID=1

http://forums.microsoft.com/MSDN/Search/Search.aspx words=mac+&searchKey=&lcid=1033&searchscope=forumgroupscope&siteid=1&ForumID=-1&ForumGroupID=11

Best regards,

Guang-Ming Bian - MSFT