How to stop multiple instances running of my application using C# ? Unknown 1:47 AM No comments public static void Main(){ bool isNew = false; Mutex mtx = new Mutex( true, "MyApp_Mutex", out isNew ); if( !isNew ) { MessageBox.Show( "MyApp is already running." ); return; }} Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment