CmdDemo.ffmpeg.GetFileName C# (CSharp) Method

GetFileName() private static method

從文件路徑中取得文件名
private static GetFileName ( string fullName ) : string
fullName string
return string
        private static string GetFileName(string fullName)
        {
            fullName = fullName.Replace(@"/", @"\");
            return fullName.Substring(fullName.LastIndexOf(@"\"));
        }