Click here to Skip to main content
15,886,518 members
Articles / Programming Languages / C#

Single Instance Application, Passing Command Line Arguments

Rate me:
Please Sign up or sign in to vote.
4.48/5 (12 votes)
15 Aug 20064 min read 126.2K   1.9K   43  
This article shows how to make sure that only one instance of an application will run, and if a second instance is started, it will call a callback function in the first instance, passing its command line arguments. The solution uses .NET Remoting for the callback.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here



Comments and Discussions