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
M S
NA
1
0
Run .exe on remote computer
Apr 23 2009 7:18 AM
I have installed simple console application on remote server side. Application gives an information about percentage of free space on sytem partition. I would like to run such application from an application installed on my computer and collect output data. But, here is a problem when I try to run application at remote side from another application on my computer. Part of code is:
ProcessStartInfo proc = new ProcessStartInfo();
proc.FileName = this._procpath; //
path to shared folder where application is placed
proc.RedirectStandardInput = false;
proc.RedirectStandardOutput = true;
//proc.Arguments = "";
proc.UseShellExecute = false;
Process p = Process.Start(proc);
string res = p.StandardOutput.ReadToEnd().ToString();
Generated error is:
That assembly does not allow partially trusted callers
The Action That Failed was: LinkDemand
Reply
Answers (
0
)
Threads inside threads = Memory Leak
NEED HELP! Arrays Getter and Setter method?