FlashInfo flashInfo = new FlashInfo(@"c:test.swf"); // 构造函数,参数是Flash文件地址
Console.WriteLine(string.Format("Version: ", flashInfo.Version)); // Flash版本
Console.WriteLine(string.Format("Compressed: ", flashInfo.IsCompressed)); //是否被压缩
Console.WriteLine(string.Format("Width: ", flashInfo.Width)); // Flash的宽度
Console.WriteLine(string.Format("Height: ", flashInfo.Height)); // Flash的高度
Console.WriteLine(string.Format("FrameRate: ", flashInfo.FrameRate)); // 帧速率
Console.WriteLine(string.Format("FrameCount: ", flashInfo.FrameCount)); // 总帧数
Console.WriteLine(string.Format("FileLength: ", flashInfo.FileLength)); // 未压缩时的文件大小
代码下载:https://files.cnblogs.com/wbcms/flashinfoclass.rar