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
vinod
NA
2
0
Securing named event is being set from particular process.
Jun 19 2014 6:06 AM
Hi,
I have two process P1 & P2 on the same machine P2 is listening for a named event "Terminate" being set in P1.
EventWaitHandle watcherTerminationEvent = null;
WaitHandle[] waitHandles = new WaitHandle[1];
watcherTerminationEvent = new EventWaitHandle(false, EventResetMode.AutoReset,"Terminate");
waitHandles[0] = watcherTerminationEvent;
var exitcode = WaitHandle.WaitAny(waitHandles);
Now, there is a chance of setting this event by any process in the system(P3,P5....), but i need to restrict this only to P1, how can i achieve that.
Thanks
Vinod
Reply
Answers (
0
)
Hw to secure Named Event is set from a single process.
How can I fetch and insert data at a single time in mvc4??