TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dariel Ramos
NA
2
11.3k
Working with HttpListener class
Mar 30 2014 5:08 PM
Help me PEOPLE please, I making a project in which I use a HttpListener
object, but his function Start() throw this Exception Message: "Access Denied". I was looking for information about it,
and I found that the reasons of that exception can be:
1 - The prefix that I trying to add is already in use.
2- Some win32 functions have errors.
I have worked with this class other times and I never had problems. (I'm working with VStudio 2012 and NetFramework 4.5)
My Operating System is Win8 (activated) now, maybe this can be a reason, because in the other times I was working in WinXP
This It is a sample of code that I usually used:
HttpListener
listener =
new
HttpListener
();
listener.Prefixes.Add(
"http://*:1234/"
);
listener.Start();
Reply
Answers (
1
)
How i set C# program as a start up of windows using c#.net ?
Find method infomation for DLLImports