首页  编辑  

获得文件的大小

Tags: /C#/文件目录操作/   Date Created:

using System . IO;

FileInfo vFileInfo = new FileInfo ( @"c:\temp\temp.swf" );

Text = vFileInfo . Length . ToString();