C#ファイルサイズ取得


FileInfo fInfo = new FileInfo( "ファイルパス" );
int i = fInfo.Length;