
private byte[] FileToSteam(string File)
{
FileStream fs = new FileStream(File, FileMode.Open);
int streamLength = (int)fs.Length;
byte[] BTFile = new byte[streamLength];
fs.Read(BTFile, 0, streamLength);
fs.Close();
return BTFile;
}



by: 发表于:2017-12-18 09:39:52 顶(0) | 踩(0) 回复
??
回复评论