Re: How can I detect network type or routing information in Windows CE?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thank you Chris for confirming what I suspected.

We are currently using a software package called NetMotion VPN which
does what we want in regards to selecting the cheapest network and
routing packets over that network connection. It provides a virtual IP
address to use when connecting to the remote network and reroutes the
packets over the cheapest connection transparent to the application.

It works well but I was trying to see if there was some way I could
implement the network selection and detection portion of the
application on my own.

I checked on the desktop and I see it's no so easy to do there either.
The closest thing I can see that could be useful is the metrics
settings used in the routing table. Even on the desktop it appears to
be a difficult thing to configure. although the netsh utility is a good
start.

I have checked out the CE ConnectionManager. It doesn't seem to do
what I need. It's able to define if a connection should be used to
connect to a certain server or not, but I don't see any where I can
select or define an order in which network connections should be used
if there are several possible connections that may work.

Thanks for your help Chris. I'll be sure to post any answer I find.
Right now it appears the NetMotion VPN software is somehow doing this
but it must be pretty low level to create virtual ip addresses and so
on. Certainly a non-trivial task.

Regards,

- Russ Ryba


On Jan 21, 1:19 pm, "<ctacke/>" <ctacke[@]opennetcf[dot]com> wrote:
You're not missing anything - they're not there. I don't think they're even
there on the desktop. I think the ConnectionManager might have some of what
you're after. For routing and the like, the only thing I'm aware of is the
OpenNETCF.networkInformation library, which is currently in Beta.

http://www.opennetcf.com/library/networkinformation

--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded Worldwww.opennetcf.com
--

<russr...@xxxxxxxxx> wrote in messagenews:1169413950.124417.212370@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Greetings,

I'm working on a Windows Mobile 5.0 device that has WiFi, Bluetooth and
Cellular IP Interfaces, as well as possibly being connected over an
ethernet cradle. The device is a ruggedized Symbol handheld.

I have two questions...

1 - How can I determine what type of network connections are available
such as WiFi, Cellular, Ethernet, etc
2 - How can I specify which interface to use when attempting to
initiate a connection on the windows CE device.

I'm hoping to automatically switch to cheaper network connections when
available, but fall back to the more expensive types when necessary.

I've looked through the System.Net namespace but I don't see anything
specific to routing or detection of the physical connection type. I
would imagine some sort of Socket.LocalEndPoint overload but i don't
see that.

I don't see any tools or CF classes to manipulate the routing table or
detect physical connection type. I'm sure what I'm looking for is
available through a google search but I must be using the wrong
keywords.

Any answers or suggestions to point me in the right direction would be
appreciated.

Thanks in advance,
- Russ Ryba

.



Relevant Pages

  • RE: Problems with Permissions
    ... And SBS server is only take ... the role of an internal server. ... they are all configured to connected to internal network. ... g. Run the Configure Email and Internet Connection Wizard on SBS server. ...
    (microsoft.public.windows.server.sbs)
  • Re: [SLE] Network problems Help!!!!
    ... > Since you are running a private network, the gateway address is the IP ... > the routing table: ... > built-in ethernet connection and my wireless connection, ... > Check the headers for your unsubscription address ...
    (SuSE)
  • Re: Outgoing POP3 email missing/lost/not received
    ... Funny thing is that I have had this ISP for 8 years and it has always been ... It looks like when you last ran CEICW, you set the ISP's mail server to: ... Internet Connection Wizard. ... After the wizard completes, the following network connection ...
    (microsoft.public.windows.server.sbs)
  • Re: server disconnection - very often
    ... Often get the redirected folders working offline prompt on some client ... VMware virtual network interface cause network issue. ... On the Connection Type page, click Broadband, and then click Next. ... |> re-initialize the offline files cache and database on client computers: ...
    (microsoft.public.windows.server.sbs)
  • Re: OT By a mile in parts comments on Viet Nam
    ... check bank accouts etc etc whilst away but is safe to do so over wireless and using the hotel network.. ... you should regard your connection as insecure and use some ... form of encryption to protect your passwords and privacy. ... My recommendation would be to set up a VPN endpoint in the UK that you ...
    (uk.comp.sys.mac)