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
simmonscarol
NA
7
0
Process.GetProcessesByName giving an error
Apr 21 2004 5:11 PM
I have a service that has the following line of code in it : Process[] processes = Process.GetProcessesByName(stProcName, localcpu); localcpu is the local computer that the service is running on - stProcName is the process name that I'm checking for. I have file watcher looking at another computer. This line of code is activated after the filewatcher has already done its' thing. The problem I am having is when it goes to execute the above line of code, I get an error stating "cannot access process information on the remote machine". Why and how is it looking at the remote machine. The executable it is checking for resides on the local machine and in the command above, I'm specifying the process name and the local computer name. So why is it looking at the remote machine ? Thanks
Reply
Answers (
1
)
How to get address of a string?
datagrid