public int Progress get try return int float CurrentStream BaseStream

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
public int Progress
{
get
{
try
{
return (int)((float)CurrentStream.BaseStream.Position / CurrentStream.BaseStream.Length * 100);
}
catch
{
return 0;
}
}
}