Do any communication libraries exsist in the CF?

Does any of the .NET TCP/IP classes exsist in the .NET Compact Framework (1 or 2) I want to mess around with some NNTP stuff (Where I was using a regular C# class for reference) and it uses these. Are there any networking protocals in the CF

Thanks!


Answer this question

Do any communication libraries exsist in the CF?

  • bil54321

    NETCF supports the System.Net namespace.

    Note that if you have a class library built for the full fx, you will have to rebuild it against the netcf (Smart Device Project) in order to use it on windows ce. If you have the raw code files, then add them to a netcf project and deal with the compilation errors.

    Cheers
    Daniel

  • dtrenaman

    System.Net namespace is a part of System.DLL which is already referenced in your project. Simply add using System.Net or Imports System.Net



  • RLGilby

    Thanks, I'm not sure why but for some reason I can't see this is available to me, I create a Windows Mobile 5 project (Class Library) in Beta 2. Once I have that project I go to "Add Reference" to see what's available, but all I see is System.Net.IrDA

    Is there a reference somehwere so I can see what's available (Hopefully for the CF 2)

     

    Thanks!


  • Amanda Theo

    Easiest is to add a reference to all the netcf assemblies and then let intellisense be your guide. I would not trust the documentation at this beta stage but it will have good clues (msdn library at msdn2). Also look at the Object Browser which in VS2005 has additional filtering.

    Cheers
    Daniel

  • Asim Shah

    Thanks, Thats what I had figured. Do you know if there's a way to see (or maybe there is a map somewhere) all the available namespaces for the .NET CF2 Like how could I find out if System.Text is available  (Like I know it's there cause I can type it, heck I even think it's used by default but how can I explore too see whats available to me in the Compact Framework)


  • Do any communication libraries exsist in the CF?