/ Published in: C#
Expand |
Embed | Plain Text
using System.Diagnostics; if (Process.Getprocessbyname(Process.Getcurrentprocess().ProcessName).Length >1) { MessageBox.show("Another instance of this process is already running"); Application.Exit(); }
You need to login to post a comment.
