Skip to main content
gamedev.net
🔒 Locked

C#/HTTP Auth

Started by cody Sep 6, 2003 at 6:04 PM 1 replies 650+ views
Original Post
cody
cody
hi, i want to make a small game server watch/admin tool(like hlsw but with better admin features for unreal tournament). my problem is how to connect to the unreal webadmin, it requires a http authentication(a dialog pops up when you connect via browser). it was no problem with php, you can enter the username and password into the url. but how can this be done in c#? im using the WebClient class but i cant see something about authorization there...
Nypyren
Nypyren
WebClient won''t let you put the login/pass in the URI?
JonStelly
JonStelly
Look at HttpWebRequest. It's a bit more full-featured than WebClient and I remember it has members to set authentication information.

[edited by - jonstelly on September 7, 2003 3:03:18 AM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.