public static void ClearLog() { string LogFile = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + @"\SVP 3.1\Logs\Log.txt"; if (File.Exists(LogFile)) File.Delete(LogFile); }
/// <summary> /// Closes the video player. /// </summary> public void ClosePlayer() { if (player != null) { player.Close(); } MpcConfigBusiness.ClearLog(); }