Business.MpcConfigBusiness.StartMpc C# (CSharp) Метод

StartMpc() публичный статический Метод

Starts a MPC process without hooking into it.
public static StartMpc ( string fileName ) : void
fileName string The video file to open.
Результат void
        public static void StartMpc(string fileName) {
            if (!string.IsNullOrEmpty(Settings.SavedFile.MpcPath) && File.Exists(Settings.SavedFile.MpcPath)) {
                Process P = new Process();
                P.StartInfo.FileName = Settings.SavedFile.MpcPath;
                P.StartInfo.Arguments = "\"" + fileName + "\"";
                P.Start();
            }
        }