CmdDemo.ffmpeg.GetFileName C# (CSharp) Метод

GetFileName() приватный статический Метод

從文件路徑中取得文件名
private static GetFileName ( string fullName ) : string
fullName string
Результат string
        private static string GetFileName(string fullName)
        {
            fullName = fullName.Replace(@"/", @"\");
            return fullName.Substring(fullName.LastIndexOf(@"\"));
        }