Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

HTTPListener class missing from System.Net


Best Answer jrlyman3, 08 February 2014 - 07:50 PM

HttpListener is under System.Net.  But, which System.Net would that be ... it's hard to figure out from Object Browser.

 

You need to add a reference to System.HTTP   :-).

 

John

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 Aram

Aram

    New Member

  • Members
  • Pip
  • 6 posts

Posted 07 February 2014 - 03:12 AM

Hello,

 

I was trying to implement a simple HTTP Web Server to post sensor values on request. Unfortunately I can not locate the HTTPListener class even though everything I have read indicates it should be available to .Net MF 4.2 Is anything special required to access this class?

 

Attached is a screen shot of the Object Browser. A lot of classes are missing from System.Net.

 

Attached Files



#2 jrlyman3

jrlyman3

    Advanced Member

  • Members
  • PipPipPip
  • 67 posts
  • LocationNorth St Paul. MN

Posted 08 February 2014 - 07:50 PM   Best Answer

HttpListener is under System.Net.  But, which System.Net would that be ... it's hard to figure out from Object Browser.

 

You need to add a reference to System.HTTP   :-).

 

John



#3 Aram

Aram

    New Member

  • Members
  • Pip
  • 6 posts

Posted 09 February 2014 - 05:53 PM

Thanks John, It was in System.HTTP.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.