C#, problem checking Whether device(Windows C.E 5.0) is connect via USB

Hi

I just converted my Application from using Windows C.E 4.1 to Windows C.E 5.0 on the Framework 2.0 and my App is complaining about Opennet reference. I reckon i'm using old version of opennet.

Does anyone know whether CE 5.0 has the same functionality as opennet.

Check Network adapters on the device.before i can send stuff over to the pc i want to check whether the device is connect via USB.

I would appriciate it if someone could help.



Answer this question

C#, problem checking Whether device(Windows C.E 5.0) is connect via USB

  • Jonas.S

    Can you post a list of all OpenNETCF classes your application is using
    This will help to find out how whether this is now supported by the .NET CF 2.0.

  • birdman82

    manyowa wrote:
    That's not good,those features should have been exposed when they made Framework 2.0, Do you know of any open source software that offers same functionality as OpennetCF or that can exposes functions that list all the network adapter including usb. Opennet is no longer free from FrameWork 2.0.

    I feel your pain, it feels like I'm working in a cave when I use the Compact Framework, but unfortunately I don't personally know of anything open source that offers this functionality. it's too bad opennetcf isn't truly so open anymore.


  • ron2464

    That's not good,those features should have been exposed when they made Framework 2.0, Do you know of any open source software that offers same functionality as OpennetCF or that can exposes functions that list all the network adapter including usb. Opennet is no longer free from FrameWork 2.0.
  • NickoM

    No, none of the classes you're using are now supported by the .NET CF 2.0 - and I'm not aware of any other free library providing the same functionality.

    Check with OpenNETCF whether your're allowed to integrate parts of the SDF 1.4 in your app. Their newest license might not allow this.
    If you are allowed to do so - port the classes you're using to .NET CF 2.0 yourself.

    Michael



  • sooraj

    Hi All

    thank you for taking your to reply to my problem,

    here's a list of class that i'm using on opennetcf

    1.OpenNETCF.Win32.Win32Window

    2.OpenNETCF.Net.Adapter

    3.OpenNETCF.Net.Networking

    thanks


  • IchiTheKiller77

    manyowa wrote:

    Hi

    I just converted my Application from using Windows C.E 4.1 to Windows C.E 5.0 on the Framework 2.0 and my App is complaining about Opennet reference. I reckon i'm using old version of opennet.

    Does anyone know whether CE 5.0 has the same functionality as opennet.

    Check Network adapters on the device.before i can send stuff over to the pc i want to check whether the device is connect via USB.

    I would appriciate it if someone could help.

    are you talking about opennetcf you'll still need that framework, all that nifty C++ functionality is still not exposed as managed code yet in 5.0.


  • C#, problem checking Whether device(Windows C.E 5.0) is connect via USB