Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. HttpListener Question

HttpListener Question

Scheduled Pinned Locked Moved C#
helpquestioncomsysadminjson
1 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kevin Marois
    wrote on last edited by
    #1

    I've never used HttpListener before so excuse my ignorance. I need to call out to Google's People API and inspect the URL for things like Response Code, Scope, redirect URL, etc. I've found some examples of HttpListener on Google, but I've got some questions. 1. When I run sample HttpLister apps it throws an Access Denied error. It seems the app has to be run in Admin mode. This isn't an option. 2. HttpLister wants a URL and a port. I don't understand why a port is needed. I'm going to be opening the default browser to https://accounts.google.com/o/oauth2/v2/auth[^], and wait for a response as above. I looked at TcpListener which doesn't need Admin rights, but it expects an IP Address. What IP address??? I'm going to Google. I'm confused here. I also found this[^], which looks promising, but also needs an IPAddress and Port. Again, all I have is a URL. More confusion. Can someone shed some light here? Thanks

    In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups