Forex_Strategy_Builder.Actions.GetLockFile C# (CSharp) Method

GetLockFile() static private method

The lockfile name will be passed automatically by Splash.exe as a command line arg -lockfile="c:\temp\C1679A85-A4FA-48a2-BF77-E74F73E08768.lock"
static private GetLockFile ( ) : string
return string
        static string GetLockFile()
        {
            foreach (string arg in Environment.GetCommandLineArgs())
                if (arg.StartsWith("-lockfile="))
                    return arg.Replace("-lockfile=", String.Empty);

            return string.Empty;
        }
Actions