Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / October 2003

Tip: Looking for answers? Try searching our database.

Execution of a  dotnet binary in a different machine

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sendhil - 16 Oct 2003 22:16 GMT
hi,
 I have an application which sends a dotnet binay file from client to
server. Is  it possible to execute the dotnet binary in the server(I
have CLR here)

In java if we have the class file we can execute it in any machine. Is
it possible to do the same with dotnet.Is the dll file enough to run
it in  a different machine.

Thanks
sendhil
Girish Bharadwaj - 16 Oct 2003 22:20 GMT
> hi,
>   I have an application which sends a dotnet binay file from client to
[quoted text clipped - 7 lines]
> Thanks
> sendhil

Yes. (depending on the fact that you dont have any addtional
dependencies). One of the marketecture terms MS used for .NET was the
"XCOPY" install..

Signature

Girish Bharadwaj

Shashank Welankar - 17 Oct 2003 07:04 GMT
You can simply

Do

System.Dignosticas.Process.Start(assembly path)

to run the binary.

Then you can also use WaitForExist method of the process object to wait till
the process runs

Shashank

> hi,
>   I have an application which sends a dotnet binay file from client to
[quoted text clipped - 7 lines]
> Thanks
> sendhil
Nick Hertl - 20 Oct 2003 22:45 GMT
> hi,
>   I have an application which sends a dotnet binay file from client to
[quoted text clipped - 7 lines]
> Thanks
> sendhil

something else to watch out for if you run a .NET binary remotely is
Security exceptions.  When you run remotely, depending on the
trust-level of the source, you may not have permission to do simple
things that you might otherwise take for granted.  You can view or
change these restrictions through the .NET Configuration tool in
Administrative Tools.  But for example, if you run an app remotely
even from another machine on your local intranet, you can't call to
unmanaged code (COM Interop), control threads (Thread.Suspend()), or
pretty much anything besides "Run Code"
Max - 21 Oct 2003 11:00 GMT
> hi,
>   I have an application which sends a dotnet binay file from client to
> server. Is  it possible to execute the dotnet binary in the server(I
> have CLR here)
You can make it a service, register in on server and start via SCM

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.