Getting System Name or Device Name for Pocket PC 2002 using .NET Compact Framework
Posted on 2003-11-18
I am programming in .Net compact framework and using vb.net at the moment. I am porting over a desktop program to pocket pc having to recode most of the things, if not all. My question is: I used to use Environ("ComputerName") in vb 6 to get the computer name in order to identify this client that is going to connect to my remote database server running on SQL Server 2000. Now, I need to do the same on a pocket PC and i found out there's System name property under asset viewer>my pocket pc>Identity>System name which is equilvalent to About>Device ID tab > Device name, which i believe could be an equilvalent for a computername under windows Environment.
Can someone enlighten me on how to get this done in VB.net or even c#.net under .net compact framework?